diff options
Diffstat (limited to 'memfetch_pagesize.patch')
-rw-r--r-- | memfetch_pagesize.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/memfetch_pagesize.patch b/memfetch_pagesize.patch new file mode 100644 index 000000000000..c02125041b7d --- /dev/null +++ b/memfetch_pagesize.patch @@ -0,0 +1,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); |