diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2010-06-01 09:55:07 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-06-01 10:05:19 -0700 |
commit | 0a6531ebea13b164825ba28e77dcbed3e9386884 (patch) | |
tree | 590830f7d50cce0e7789e1769256d1581ac437b3 /Documentation/timers | |
parent | 037776fcbe73236408f6c9ca97c782457efd6b53 (diff) | |
download | op-kernel-dev-0a6531ebea13b164825ba28e77dcbed3e9386884.zip op-kernel-dev-0a6531ebea13b164825ba28e77dcbed3e9386884.tar.gz |
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/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/timers/Makefile b/Documentation/timers/Makefile index c85625f..73f75f8 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) |