[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080131145900.GB2471@hacking>
Date: Thu, 31 Jan 2008 22:59:00 +0800
From: WANG Cong <xiyou.wangcong@...il.com>
To: LKML <linux-kernel@...r.kernel.org>
Cc: Ingo Molnar <mingo@...e.hu>, Christoph Lameter <clameter@....com>
Subject: [Patch] 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 <mingo@...e.hu>
Cc: Christoph Lameter <clameter@....com>
Signed-off-by: WANG Cong <xiyou.wangcong@...il.com>
---
diff --git a/include/asm-generic/tlb.h b/include/asm-generic/tlb.h
index 6ce9f3a..4ebbe15 100644
--- a/include/asm-generic/tlb.h
+++ b/include/asm-generic/tlb.h
@@ -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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists