From 0a6531ebea13b164825ba28e77dcbed3e9386884 Mon Sep 17 00:00:00 2001 From: Randy Dunlap Date: Tue, 1 Jun 2010 09:55:07 -0700 Subject: Documentation/timers/hpet_example.c: only build on X86 We should only build hpet_example on x86[-64], where it is implemented. It can cause build errors on other architectures. Signed-off-by: Randy Dunlap Reported-by: Heiko Carstens Cc: Heiko Carstens Cc: Arjan van de Ven Signed-off-by: Linus Torvalds --- Documentation/timers/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Documentation/timers') diff --git a/Documentation/timers/Makefile b/Documentation/timers/Makefile index c85625f4ab25..73f75f8a87dc 100644 --- a/Documentation/timers/Makefile +++ b/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) -- cgit v1.2.3