aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorjohn stultz <[email protected]>2010-03-01 20:34:43 +0000
committerThomas Gleixner <[email protected]>2010-03-02 08:22:25 +0000
commitad6759fbf35d104dbf573cd6f4c6784ad6823f7e (patch)
tree6eb4b1770d8875828c9693cdd510f43fb87da8b6 /net/lapb/lapb_subr.c
parentMerge branch 'davinci-for-linus' of git://git.kernel.org/pub/scm/linux/kernel... (diff)
downloadkernel-ad6759fbf35d104dbf573cd6f4c6784ad6823f7e.tar.gz
kernel-ad6759fbf35d104dbf573cd6f4c6784ad6823f7e.zip
timekeeping: Prevent oops when GENERIC_TIME=n
Aaro Koskinen reported an issue in kernel.org bugzilla #15366, where on non-GENERIC_TIME systems, accessing /sys/devices/system/clocksource/clocksource0/current_clocksource results in an oops. It seems the timekeeper/clocksource rework missed initializing the curr_clocksource value in the !GENERIC_TIME case. Thanks to Aaro for reporting and diagnosing the issue as well as testing the fix! Reported-by: Aaro Koskinen <[email protected]> Signed-off-by: John Stultz <[email protected]> Cc: Martin Schwidefsky <[email protected]> Cc: [email protected] LKML-Reference: <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions