mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 lines
367 B

--- ./common.c.orig 2008-05-05 13:52:40.000000000 +0200
+++ ./common.c 2008-05-05 13:52:46.000000000 +0200
@@ -35,7 +35,8 @@
* PAGE_SHIFT no longer necessarily exists in <asm/page.h>. So
* we use PAGE_SIZE to compute PAGE_SHIFT...
*/
-#include <asm/page.h>
+#define PAGE_SIZE getpagesize()
+// #include <asm/page.h>
#include "version.h"
#include "common.h"