lkml.org 
[lkml]   [2012]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: linux-next: build failure after merge of the input tree
From
Date
On Tue, 2012-01-24 at 14:25 +1100, Stephen Rothwell wrote:
> Hi Dmitry,
>
> After merging the input tree, today's linux-next build (powerpc
> ppc64_defconfig) failed like this:
>
> ERROR: ".ktime_get_monotonic_offset" [drivers/input/evdev.ko] undefined!
>
> Caused by commit 04f2c50e5fd8 ("Input: add infrastructure for selecting
> clockid for event time stamps").
>
> I have used the input tree from next-20120123 for today.

Huh.

ktime_get_monotonic_offset is a timekeeping core interface, defined
along with ktime_get

Hrmmm.. Ah. I suspect this will fix it:


Export ktime_get_monotonic_offset for evdev

Signed-off-by: John Stultz <john.stultz@linaro.org>

diff --git a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c
index 9cf6bbb..9781add 100644
--- a/kernel/time/timekeeping.c
+++ b/kernel/time/timekeeping.c
@@ -1230,6 +1230,8 @@ ktime_t ktime_get_monotonic_offset(void)
} while (read_seqretry(&xtime_lock, seq));
return timespec_to_ktime(wtom);
}
+EXPORT_SYMBOL_GPL(ktime_get_monotonic_offset);
+

/**
* xtime_update() - advances the timekeeping infrastructure





\
 
 \ /
  Last update: 2012-01-25 00:19    [W:0.064 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site