Skip to contentSkip to conversation

include/asm-generic/tlb.h: fix a missing header

PATCH In review WANG Cong 2 participants 3 messages Jan 31, 2008 – Feb 1, 2008

Subsystems (2)
lore
Share & tools
lore

WANG Cong

author
#0 lore raw

PATCH 1/1 include/asm-generic/tlb.h: fix a missing header

This patch fixes this build error in current -git tree:

CC kernel/sched.o
In file included from include/asm/arch/tlb.h:10,

                 from include/asm/tlb.h:5,
                 from kernel/sched.c:71:

include/asm-generic/tlb.h: In function 'tlb_finish_mmu':
include/asm-generic/tlb.h:91: error: implicit declaration of function 'check_pgt_cache' make[1]: *** [kernel/sched.o] Error 1
make: *** [kernel] Error 2

Cc Ingo Molnar <[email protected]>
Cc Christoph Lameter <[email protected]>

---

include/asm-generic/tlb.h +1 -0
index 6ce9f3a..4ebbe15 100644
@@ -16,6 +16,7 @@
 #include <linux/swap.h>
 #include <linux/quicklist.h>
 #include <asm/tlbflush.h>
+#include <asm/pgalloc.h>
 
 /*
  * For UP we don't need to worry about TLB flush
#1 lore raw

include/asm-generic/tlb.h line 19

Quoted 8 lines · WANG Cong

index 6ce9f3a..4ebbe15 100644

include/asm-generic/tlb.h +1 -0
@@ -16,6 +16,7 @@
 #include <linux/swap.h>
 #include <linux/quicklist.h>
 #include <asm/tlbflush.h>
+#include <asm/pgalloc.h>

Please also remove the #include <linux/quicklist.h>. It should have been part of
a patch
reversal.

author
#2 lore raw
Quoted 15 lines · Christoph Lameter

include/asm-generic/tlb.h line 19

Quoted 8 lines · WANG Cong

index 6ce9f3a..4ebbe15 100644

include/asm-generic/tlb.h +1 -0
@@ -16,6 +16,7 @@
 #include <linux/swap.h>
 #include <linux/quicklist.h>
 #include <asm/tlbflush.h>
+#include <asm/pgalloc.h>

Please also remove the #include <linux/quicklist.h>. It should have been part of
a patch
reversal.

Please ignore this patch, since Ingo already had the same one.

Thanks!