On Sun, 2006-05-14 at 23:13 +0200, Andreas Schwab wrote: > > Hm, same applies here as to the last one. The __KERNEL__ ifdef applies > > to the whole crap around PAGE_SHIFT _and_ PAGE_SIZE, at least. > > Userspace should be using getpagesize() anyway. Yes. That's why I say all the PAGE_SIZE crap should be in #ifdef __KERNEL__. I also suspect a lot of the _rest_ of that file shouldn't be visible either. What's in there that we actually _need_ to export? -- dwmw2 - : send the line "unsubscribe linux-ia64" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |