mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-19 21:21:09 +00:00
time: timer cleanups
Small cleanups to tick-related code. Wrong preempt count is followed by BUG(), so it is hardly KERN_WARNING. Signed-off-by: Pavel Machek <pavel@suse.cz> Cc: john stultz <johnstul@us.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
a6fa8e5a61
commit
4c9dc64122
2 changed files with 3 additions and 3 deletions
|
@ -655,7 +655,7 @@ static inline void __run_timers(struct tvec_base *base)
|
|||
int preempt_count = preempt_count();
|
||||
fn(data);
|
||||
if (preempt_count != preempt_count()) {
|
||||
printk(KERN_WARNING "huh, entered %p "
|
||||
printk(KERN_ERR "huh, entered %p "
|
||||
"with preempt_count %08x, exited"
|
||||
" with %08x?\n",
|
||||
fn, preempt_count,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue