kselftests: timers: freq-step: Define ADJ_SETOFFSET if device has older kernel headers
authorJohn Stultz <john.stultz@linaro.org>
Mon, 14 Aug 2017 20:46:32 +0000 (13:46 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Thu, 17 Aug 2017 19:14:42 +0000 (12:14 -0700)
commit0aeab46ed8bde9e5850b2558b99307633093d0a2
tree98e87d323e428154bf7460d726cfce7bc22ff8a6
parent5771a8c08880cdca3bfb4a3fc6d309d6bba20877
kselftests: timers: freq-step: Define ADJ_SETOFFSET if device has older kernel headers

On some systems, the kernel headers haven't been updated to include
ADJ_SETOFFSET, so define it in the test if needed.

Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Miroslav Lichvar <mlichvar@redhat.com>
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: Prarit Bhargava <prarit@redhat.com>
Cc: Stephen Boyd <stephen.boyd@linaro.org>
Cc: Shuah Khan <shuah@kernel.org>
Cc: linux-kselftest@vger.kernel.org
Signed-off-by: John Stultz <john.stultz@linaro.org>
tools/testing/selftests/timers/freq-step.c