From: mreed <mr...@us...> - 2006-09-11 20:59:16
|
Update of /cvsroot/ltp/ltp/testcases/kernel/io/ltp-aiodio In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv13938 Modified Files: fsx-linux.c Log Message: A patch that sets the constant PAGE_SIZE to the kernel its running on Index: fsx-linux.c =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/kernel/io/ltp-aiodio/fsx-linux.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** fsx-linux.c 22 Jun 2006 04:28:34 -0000 1.3 --- fsx-linux.c 11 Sep 2006 20:59:07 -0000 1.4 *************** *** 98,102 **** #ifndef PAGE_SIZE ! #define PAGE_SIZE 4096 #endif #define PAGE_MASK (PAGE_SIZE - 1) --- 98,102 ---- #ifndef PAGE_SIZE ! #define PAGE_SIZE getpagesize() #endif #define PAGE_MASK (PAGE_SIZE - 1) |