diff options
author | Alexander Graf <agraf@suse.de> | 2014-10-27 20:03:59 -0400 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2014-10-28 08:46:27 -0400 |
commit | 371aedbfbba542b39e9286ec644f1166f43b5cd3 (patch) | |
tree | 8636fe0eb541639aa829a0bbb424b485ea76e103 | |
parent | 0f8b7f5d761b5a4770e1e2cb705daa17677c2433 (diff) |
Documentation: Restrict TSC test code to x86
The prctl test code in Documentation/ tries to show how to
use a call that only makes sense on x86. Restrict it there
so that other platforms don't try to call asm("rdtsc").
Signed-off-by: Alexander Graf <agraf@suse.de>
Acked-by: Peter Foley <pefoley2@pefoley.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
-rw-r--r-- | Documentation/prctl/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/prctl/Makefile b/Documentation/prctl/Makefile index 3e3232dcb2b8..2948b7b124b9 100644 --- a/Documentation/prctl/Makefile +++ b/Documentation/prctl/Makefile | |||
@@ -1,5 +1,5 @@ | |||
1 | # List of programs to build | 1 | # List of programs to build |
2 | hostprogs-y := disable-tsc-ctxt-sw-stress-test disable-tsc-on-off-stress-test disable-tsc-test | 2 | hostprogs-$(CONFIG_X86) := disable-tsc-ctxt-sw-stress-test disable-tsc-on-off-stress-test disable-tsc-test |
3 | # Tell kbuild to always build the programs | 3 | # Tell kbuild to always build the programs |
4 | always := $(hostprogs-y) | 4 | always := $(hostprogs-y) |
5 | 5 | ||