From: Randy Dunlap on
From: Randy Dunlap <randy.dunlap(a)>

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(a)>
Reported-by: Heiko Carstens <heiko.carstens(a)>
Cc: Heiko Carstens <heiko.carstens(a)>
Cc: Arjan van de Ven <arjan(a)>
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(a)
More majordomo info at
Please read the FAQ at