From 650b31bcbdc613e5d71e1d00dcab9c9886698420 Mon Sep 17 00:00:00 2001 From: tappro Date: Tue, 7 Nov 2006 18:25:41 +0000 Subject: [PATCH] fix in patch --- lustre/kernel_patches/patches/highmem-split-2.6-rhel4.patch | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lustre/kernel_patches/patches/highmem-split-2.6-rhel4.patch b/lustre/kernel_patches/patches/highmem-split-2.6-rhel4.patch index 6ae84df..124e09c 100644 --- a/lustre/kernel_patches/patches/highmem-split-2.6-rhel4.patch +++ b/lustre/kernel_patches/patches/highmem-split-2.6-rhel4.patch @@ -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 +#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 -- 1.8.3.1