Messages in this thread | | | Date | Tue, 20 Jan 2009 16:32:03 -0800 (PST) | Subject | Re: Confusion in usr/include/asm-generic/fcntl.h | From | David Miller <> |
| |
From: Arnd Bergmann <arnd@arndb.de> Date: Wed, 21 Jan 2009 01:24:25 +0100
> I think we should simply define a macro for use in the kernel, e.g. in > <asm/types.h>. There already is a BITS_PER_LONG macro in there, maybe > we can add an exported __BITS_PER_LONG there that checks for the right > macro on each architecture.
That might work.
> On parisc, there is a major confusion in this area, at some point, all > checks for __LP64__ got replaced with CONFIG_64BIT there. While I have > not understood what the problem with __LP64__ was, the check for > CONFIG_64BIT on parisc user space looks very wrong.
Yep.
| |