summarylogtreecommitdiffstats
path: root/memfetch_pagesize.patch
blob: c02125041b7d3c9ccced1e539bea227021aa075a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
30c30
< #include <asm/page.h>
---
> //#include <asm/page.h>		This header is no longer available.
281a282,285
>     /* Leif Thande - 19/08/2008 
>      * replaced PAGE_SIZE with a call to getpagesize(). PAGE_SIZE is no longer
>      * available. */
> 
283c287
<       for (i=st;i<en;i+=PAGE_SIZE) ptrace(PTRACE_PEEKDATA,tracepid,i,0);
---
>       for (i=st;i<en;i+=getpagesize()) ptrace(PTRACE_PEEKDATA,tracepid,i,0);