[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4C053B6B.9000906@oracle.com>
Date: Tue, 01 Jun 2010 09:55:07 -0700
From: Randy Dunlap <randy.dunlap@...cle.com>
To: Linus Torvalds <torvalds@...ux-foundation.org>
CC: Heiko Carstens <heiko.carstens@...ibm.com>,
linux-kernel@...r.kernel.org,
"arjan@...radead.org" <arjan@...radead.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Thomas Gleixner <tglx@...utronix.de>
Subject: [PATCH v2] Documentation/timers/hpet_example.c: only build on X86
From: Randy Dunlap <randy.dunlap@...cle.com>
We should only build hpet_example on (any) X86, where it is
implemented. It can cause build errors on other arch-es.
Signed-off-by: Randy Dunlap <randy.dunlap@...cle.com>
Reported-by: Heiko Carstens <heiko.carstens@...ibm.com>
Cc: Heiko Carstens <heiko.carstens@...ibm.com>
Cc: Arjan van de Ven <arjan@...radead.org>
---
Documentation/timers/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- lnx-2635-rc1.orig/Documentation/timers/Makefile
+++ lnx-2635-rc1/Documentation/timers/Makefile
@@ -2,7 +2,7 @@
obj- := dummy.o
# List of programs to build
-hostprogs-y := hpet_example
+hostprogs-$(CONFIG_X86) := hpet_example
# Tell kbuild to always build the programs
always := $(hostprogs-y)
--
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