Re: [PATCH] Remove #ifdef CONFIG_64BIT from all asm-generic/fcntl.h

From: David Howells
Date: Thu Sep 10 2015 - 07:18:20 EST


David Howells <dhowells@xxxxxxxxxx> wrote:

> Rather than iterating through all the rest of your patches and saying the same
> thing, if there's something in a UAPI header that needs wrapping in __KERNEL__
> to exclude it from userspace's use, then it should be transferred to the
> non-UAPI variant of that header (which should #include the UAPI variant).

I should mention that there is the odd case where this is difficult to
achieve. See include/uapi/linux/acct.h for an example...

David
--
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/