diff options
Diffstat (limited to 'Documentation/timers')
-rw-r--r-- | Documentation/timers/Makefile | 2 | ||||
-rw-r--r-- | Documentation/timers/hpet_example.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/Documentation/timers/Makefile b/Documentation/timers/Makefile index c85625f4ab2..73f75f8a87d 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) diff --git a/Documentation/timers/hpet_example.c b/Documentation/timers/hpet_example.c index f9ce2d9fdfd..4bfafb7bc4c 100644 --- a/Documentation/timers/hpet_example.c +++ b/Documentation/timers/hpet_example.c @@ -10,7 +10,6 @@ #include <sys/types.h> #include <sys/wait.h> #include <signal.h> -#include <fcntl.h> #include <errno.h> #include <sys/time.h> #include <linux/hpet.h> @@ -24,7 +23,6 @@ extern void hpet_read(int, const char **); #include <sys/poll.h> #include <sys/ioctl.h> -#include <signal.h> struct hpet_command { char *command; |