diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2010-06-01 18:55:07 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-06-01 19:05:19 +0200 |
commit | 0a6531ebea13b164825ba28e77dcbed3e9386884 (patch) | |
tree | 590830f7d50cce0e7789e1769256d1581ac437b3 /Documentation/timers/Makefile | |
parent | AFS: Fix possible null pointer dereference in afs_alloc_server() (diff) | |
download | linux-0a6531ebea13b164825ba28e77dcbed3e9386884.tar.xz linux-0a6531ebea13b164825ba28e77dcbed3e9386884.zip |
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/Makefile')
-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 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) |