[klibc] [PATCH] get rid of asm/page.h usage

Olaf Hering olh at suse.de
Mon Feb 14 04:50:02 PST 2005


 On Mon, Feb 14, Olaf Hering wrote:

> 
> I think there is no need to special case some archs, just get the thing
> during runtime on all archs.

Another user of asm/page.h is linux/resource.h, 
 #define MLOCK_LIMIT     (8 * PAGE_SIZE)

I think klibc should use its own defines in include/sys/resource.h and
provide a include/arch/*/klibc/archresource.h with defines for a few
archs which define __ARCH_RLIMIT_ORDER.

What do you think? 



More information about the klibc mailing list