]> git.baikalelectronics.ru Git - kernel.git/commit
kernel/: fix BUG_ON checks for cpu notifier callbacks direct call
authorAkinobu Mita <akinobu.mita@gmail.com>
Fri, 4 Jun 2010 21:15:04 +0000 (14:15 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 4 Jun 2010 22:21:45 +0000 (15:21 -0700)
commit123c0344c16c55eef52090e71e04684b660d9652
tree9ddfd67eec7e8a7dc73fb0ced97cc06e54a35c63
parent652a3eb9c75fe9a58ccc5da430af03db8a7f3fc7
kernel/: fix BUG_ON checks for cpu notifier callbacks direct call

The commit 740078bcb35c8b3e46f2e064829be976ad211d3a ("kernel/: convert cpu
notifier to return encapsulate errno value") changed the return value of
cpu notifier callbacks.

Those callbacks don't return NOTIFY_BAD on failures anymore.  But there
are a few callbacks which are called directly at init time and checking
the return value.

I forgot to change BUG_ON checking by the direct callers in the commit.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/softirq.c
kernel/timer.c