aboutsummaryrefslogtreecommitdiff
path: root/arch/i386/mach-generic
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2007-09-11 14:02:12 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-09-12 09:28:06 -0700
commit9863b78a1a82347fa1e727bdca0110151a5c4f10 (patch)
tree470016dc13ec85321f242ba537d911ffdd6908e2 /arch/i386/mach-generic
parent2966c6a03efd90197582eae8590d82c789475680 (diff)
i386: Fix leak of ../kernel from top level
Fix a compile error when the directory above the kernel source contains a file named "kernel". Originally from Ben LaHaise, modified based on feedback from Sam Ravnborg Signed-off-by: Andi Kleen <ak@suse.de> Cc: Sam Ravnborg <sam@ravnborg.org> Cc: Ben LaHaise <bcrl@kvack.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/i386/mach-generic')
-rw-r--r--arch/i386/mach-generic/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/mach-generic/Makefile b/arch/i386/mach-generic/Makefile
index 77fbc9f64fb..6914485c0d8 100644
--- a/arch/i386/mach-generic/Makefile
+++ b/arch/i386/mach-generic/Makefile
@@ -2,6 +2,6 @@
# Makefile for the generic architecture
#
-EXTRA_CFLAGS += -I../kernel
+EXTRA_CFLAGS := -Iarch/i386/kernel
obj-y := probe.o summit.o bigsmp.o es7000.o default.o ../mach-es7000/