Whamcloud - gitweb
fix in patch
authortappro <tappro>
Tue, 7 Nov 2006 18:25:41 +0000 (18:25 +0000)
committertappro <tappro>
Tue, 7 Nov 2006 18:25:41 +0000 (18:25 +0000)
lustre/kernel_patches/patches/highmem-split-2.6-rhel4.patch

index 6ae84df..124e09c 100644 (file)
@@ -74,11 +74,13 @@ diff -Naur linux-2.6.10/include/asm-i386/page.h linux-2.6.10/include/asm-i386/pa
  #define TASK_SIZE             ((current->personality & 0x8000000) ? 0xc0000000 : 0xff000000)
  #else
 -#define __PAGE_OFFSET         (0xc0000000)
+-#define TASK_SIZE             (0xc0000000)
 +#include <asm-generic/page_offset.h>
 +#define __PAGE_OFFSET         (PAGE_OFFSET_RAW)
- #define TASK_SIZE             (0xc0000000)
++#define TASK_SIZE             (PAGE_OFFSET_RAW)
  #endif
-
+ #ifndef __ASSEMBLY__
 diff -Naur linux-2.6.10/arch/i386/mm/pageattr.c linux-2.6.10/arch/i386/mm/pageattr.c
 --- linux-2.6.10/arch/i386/mm/pageattr.c      2006-08-25 12:39:09.000000000 +0400       
 +++ linux-2.6.10/arch/i386/mm/pageattr.c      2006-10-19 00:43:49.000000000 +0400