Is FIOQSIZE compatible? ( was Re: f_ops flag to speed up compatible ioctls in linux kernel)

From: Michael S. Tsirkin
Date: Tue Sep 07 2004 - 16:48:09 EST


Hello!
Quoting r. Andi Kleen (ak@xxxxxxx) "Re: [discuss] f_ops flag to speed up compatible ioctls in linux kernel":
> On Tue, Sep 07, 2004 at 05:45:43PM +0300, Michael S. Tsirkin wrote:
> > > > > but I cannot think of a good alternative.
> > > > >
> > > >
> > > > Maybe one entry point with a flag?
> > >
> > > That would be IMHO far uglier than two.
> > >
> > > -Andi
> > >
> >
> > What would be a good name? ioctl32/ioctl64? ioctl_compat/ioctl_native?
>
> Later two sound ok to me.
>
> -Andi

Why is FIOQSIZE in arch/x86_64/ia32/ia32_ioctl.c and not in
include/linux/compat_ioctl.h ?

It is as far as I can see returning simply loff_t which is 64 bit
on all architectures.

Thanks,
MST
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/