From 994fb2ab16c6c0fb291b55f7c9d84c9fcb23083d Mon Sep 17 00:00:00 2001 From: tappro Date: Tue, 7 Nov 2006 12:47:13 +0000 Subject: [PATCH] fix broken compile --- lustre/kernel_patches/patches/highmem-split-2.6-rhel4.patch | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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 ec34fc3..6ae84df 100644 --- a/lustre/kernel_patches/patches/highmem-split-2.6-rhel4.patch +++ b/lustre/kernel_patches/patches/highmem-split-2.6-rhel4.patch @@ -78,6 +78,17 @@ diff -Naur linux-2.6.10/include/asm-i386/page.h linux-2.6.10/include/asm-i386/pa +#define __PAGE_OFFSET (PAGE_OFFSET_RAW) #define TASK_SIZE (0xc0000000) #endif + +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 +@@ -15,7 +15,7 @@ + static spinlock_t cpa_lock = SPIN_LOCK_UNLOCKED; + static struct list_head df_list = LIST_HEAD_INIT(df_list); +- ++extern char _stext[], _etext[], _sinittext[], _einittext[]; - + pte_t *lookup_address(unsigned long address) + { + -- 1.8.3.1