Hi again guys,
Just as a note, it appears that asm/page.h isn't packaged with
kernel.org sources anymore as of 2.6.25, according to some folks on
#fedora-devel.
I was just wondering a) if that's the case, b) whether or not those
affected test compiles have been identified and removed / modified?
If both questions are true and no one has pointed out this issue
before now, I've found all of the items which don't follow this
behavior:
testcases/kernel/...
.../controllers/io-throttle/iobw.c
.../module/query_module/query_module0*.c
.../module/create_module/create_module02.c
tools/top-LTP/proc/devname.c
According to the folks in #fedora-devel (airlied, jwb), we shouldn't
be using asm/page.h directly, but instead should be accessing
everything in page.h via sysconf(2), like so:
PAGE_SIZE => sysconf(_SC_PAGE_SIZE)
This method is POSIX compatible as per:
http://www.opengroup.org/onlinepubs/009695399/functions/sysconf.html
Thanks,
-Garrett
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list