]> git.baikalelectronics.ru Git - kernel.git/commit
irq_work: fix compile failure on MIPS from system.h split
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 1 Apr 2012 20:38:37 +0000 (16:38 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 2 Apr 2012 15:48:04 +0000 (08:48 -0700)
commit5d13d46e37d1e589ae728b6332526795c36749c7
treebb7298e580619fd3b7923364e3c4cd1e9d341972
parentf6668f74d5b8d670730db2b990d7858425f3b63c
irq_work: fix compile failure on MIPS from system.h split

Builds of the MIPS platform ip32_defconfig fails as of commit
e307c67a9ef0 ("Merge tag 'split-asm_system_h ...") because MIPS xchg()
macro uses BUILD_BUG_ON and it was moved in commit ab237e3ab388
("Disintegrate asm/system.h for MIPS").

The root cause is that the system.h split wasn't tested on a baseline
with commit 437eae8187b2 ("kernel.h: doesn't explicitly use bug.h, so
don't include it.")

Since this file uses BUG code in several other places besides the xchg
call, simply make the inclusion explicit.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/irq_work.c