summaryrefslogtreecommitdiffstats
path: root/Documentation/timers
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2010-06-01 09:55:07 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-06-01 10:05:19 -0700
commit0a6531ebea13b164825ba28e77dcbed3e9386884 (patch)
tree590830f7d50cce0e7789e1769256d1581ac437b3 /Documentation/timers
parent037776fcbe73236408f6c9ca97c782457efd6b53 (diff)
downloadlinux-0a6531ebea13b164825ba28e77dcbed3e9386884.tar.bz2
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 <randy.dunlap@oracle.com> Reported-by: Heiko Carstens <heiko.carstens@de.ibm.com> Cc: Heiko Carstens <heiko.carstens@de.ibm.com> Cc: Arjan van de Ven <arjan@infradead.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/timers')
-rw-r--r--Documentation/timers/Makefile2
1 files changed, 1 insertions, 1 deletions
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)