updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / memfetch / memfetch_pagesize.patch
blobc02125041b7d3c9ccced1e539bea227021aa075a
1 30c30
2 < #include <asm/page.h>
3 ---
4 > //#include <asm/page.h> This header is no longer available.
5 281a282,285
6 > /* Leif Thande - 19/08/2008
7 > * replaced PAGE_SIZE with a call to getpagesize(). PAGE_SIZE is no longer
8 > * available. */
9 >
10 283c287
11 < for (i=st;i<en;i+=PAGE_SIZE) ptrace(PTRACE_PEEKDATA,tracepid,i,0);
12 ---
13 > for (i=st;i<en;i+=getpagesize()) ptrace(PTRACE_PEEKDATA,tracepid,i,0);