Skip to contentSkip to conversation

linux-libc-headers 2.6.8.0

ANNOUNCE Albert Cahalan 1 participant 1 message Aug 19, 2004

lore
Share & tools
lore
#0 lore raw

Never mind that last one. This is nicer:

extern int getpagesize(void);
#define PAGE_SIZE ((unsigned long)getpagesize())
#define PAGE_SHIFT ((unsigned long[]){12,13,14,-1,15,-1,-1,-1,16}[PAGE_SIZE>>13])