From: Andi Kleen <ak@suse.de>
To: sam@ravnborg.org, bcrl@kvack.org, torvalds@osdl.org,
patches@x86-64.org, linux-kernel@vger.kernel.org
Subject: [PATCH for 2.6.23] [3/3] i386: Fix leak of ../kernel from top level
Date: Tue, 11 Sep 2007 14:02:12 +0200 (CEST) [thread overview]
Message-ID: <20070911120212.2FAA414EEC@wotan.suse.de> (raw)
In-Reply-To: <20070911202.911586000@suse.de>
Fix a compile error when the directory above the kernel source contains
a file named "kernel". Originally from Ben La Haise, modified based
on feedback from Sam Ravnborg
Cc: sam@ravnborg.org
Cc: bcrl@kvack.org
Signed-off-by: Andi Kleen <ak@suse.de>
Index: linux/arch/i386/mach-generic/Makefile
===================================================================
--- linux.orig/arch/i386/mach-generic/Makefile
+++ linux/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/
Index: linux/arch/i386/mach-voyager/Makefile
===================================================================
--- linux.orig/arch/i386/mach-voyager/Makefile
+++ linux/arch/i386/mach-voyager/Makefile
@@ -2,7 +2,7 @@
# Makefile for the linux kernel.
#
-EXTRA_CFLAGS += -I../kernel
+EXTRA_CFLAGS := -Iarch/i386/kernel
obj-y := setup.o voyager_basic.o voyager_thread.o
obj-$(CONFIG_SMP) += voyager_smp.o voyager_cat.o
prev parent reply other threads:[~2007-09-11 12:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-11 12:02 [PATCH for 2.6.23] [0/3] More last minute bug fixes for x86 Andi Kleen
2007-09-11 12:02 ` [PATCH for 2.6.23] [1/3] x86_64: Add missing mask operation to vdso Andi Kleen
2007-09-11 12:02 ` [PATCH for 2.6.23] [2/3] x86_64: Prevent doing anything from cache_remove_dev() when info setup failed Andi Kleen
2007-09-13 9:32 ` Andi Kleen
2007-09-11 12:02 ` Andi Kleen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070911120212.2FAA414EEC@wotan.suse.de \
--to=ak@suse.de \
--cc=bcrl@kvack.org \
--cc=linux-kernel@vger.kernel.org \
--cc=patches@x86-64.org \
--cc=sam@ravnborg.org \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome