]> git.baikalelectronics.ru Git - kernel.git/commit
Documentation: Restrict TSC test code to x86
authorAlexander Graf <agraf@suse.de>
Tue, 28 Oct 2014 00:03:59 +0000 (01:03 +0100)
committerJonathan Corbet <corbet@lwn.net>
Tue, 28 Oct 2014 12:46:27 +0000 (08:46 -0400)
commitd2d9633d4ff47feaa66500634abf87cd9b09c1c6
tree8636fe0eb541639aa829a0bbb424b485ea76e103
parenteb0dbe7d0d3b4252593384075589dd10d8c67f95
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>
Documentation/prctl/Makefile