]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
hrtimer: Handle failure of tick_init_highres() gracefully
authorGuenter Roeck <linux@roeck-us.net>
Sat, 22 Aug 2015 08:10:47 +0000 (01:10 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 22 Aug 2015 08:57:50 +0000 (10:57 +0200)
commit85e1cd6e769dfc84995270d0a4838021fcb8602d
treeb2b2efa20c71e9e930f13765d0c976c5e619400b
parent05ddaa4d6d3806bebdf14f7c5de742a6e0e3b689
hrtimer: Handle failure of tick_init_highres() gracefully

Commit 75e3b37d0598 ("hrtimer: Drop return code of hrtimer_switch_to_hres()")
drops the return code of hrtimer_switch_to_hres(). While doing so, it also
drops the return statement itself on failure. This may cause a system hang.
Seen when running arm:multi_v7_defconfig in qemu with devicetree file
vexpress-v2p-ca9.

Fixes: 75e3b37d0598 ("hrtimer: Drop return code of hrtimer_switch_to_hres()")
Cc: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Link: http://lkml.kernel.org/r/1440231047-16256-1-git-send-email-linux@roeck-us.net
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/time/hrtimer.c