Whamcloud - gitweb
fix broken compile
authortappro <tappro>
Tue, 7 Nov 2006 12:47:13 +0000 (12:47 +0000)
committertappro <tappro>
Tue, 7 Nov 2006 12:47:13 +0000 (12:47 +0000)
lustre/kernel_patches/patches/highmem-split-2.6-rhel4.patch

index ec34fc3..6ae84df 100644 (file)
@@ -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)
+ {
+