[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4C0470BE.6040709@oracle.com>
Date: Mon, 31 May 2010 19:30:22 -0700
From: Randy Dunlap <randy.dunlap@...cle.com>
To: Heiko Carstens <heiko.carstens@...ibm.com>
CC: linux-kernel@...r.kernel.org,
"arjan@...radead.org" <arjan@...radead.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Thomas Gleixner <tglx@...utronix.de>
Subject: [PATCH] Documentation/timers/hpet_example.c: only build on X64
From: Randy Dunlap <randy.dunlap@...cle.com>
We should only build hpet_example on X64, 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