Re: [PATCH] remove availability for PAGE_SIZE and friends (i386)

2007-03-06 Thread David Brown
Pfft, did I seriously screw that up... (/me failed) On 3/6/07, David M. Lloyd <[EMAIL PROTECTED]> wrote: On Tue, 2007-03-06 at 08:31 -0800, David Brown wrote: > +#define __KERNEL__ That's a #define, not an #ifdef... - DML diff --git a/include/asm-i386/page.h b/include/asm-i386/page.h index

Re: [PATCH] remove availability for PAGE_SIZE and friends (i386)

2007-03-06 Thread David M. Lloyd
On Tue, 2007-03-06 at 08:31 -0800, David Brown wrote: > +#define __KERNEL__ That's a #define, not an #ifdef... - DML - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-in

[PATCH] remove availability for PAGE_SIZE and friends (i386)

2007-03-06 Thread David Brown
After a bit of discussion I found out that PAGE_SIZE really shouldn't be available for use at all by userspace. So here's a patch to move the __KERNEL__ define to include PAGE_SIZE and friends for i386. Thanks, - David Brown diff --git a/include/asm-i386/page.h b/include/asm-i386/page.h index 7b