]> git.baikalelectronics.ru Git - kernel.git/commit
ppc: make PPC_BOOK3S_64 select IRQ_WORK
authorJosh Triplett <josh@joshtriplett.org>
Mon, 7 Apr 2014 22:39:08 +0000 (15:39 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 7 Apr 2014 23:36:09 +0000 (16:36 -0700)
commitcb6d5b26a546a58b08b9030b7786287e1c21c10d
tree1d3ffc5297bb90193bc06ea959fe8ec782d69ae4
parentc5c1cd47cd1bd27e42fe0a684a1f6f3e58b0df02
ppc: make PPC_BOOK3S_64 select IRQ_WORK

Fix breakage which will be exposed by the patch "kconfig: make allnoconfig
disable options behind EMBEDDED and EXPERT".

arch/powerpc/kernel/mce.c, compiled in for PPC_BOOK3S_64, calls
functions only built when IRQ_WORK, so select it.  Fixes the following
build error:

  arch/powerpc/kernel/built-in.o: In function `.machine_check_queue_event':
  (.text+0x11260): undefined reference to `.irq_work_queue'

Signed-off-by: Josh Triplett <josh@joshtriplett.org>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/powerpc/platforms/Kconfig.cputype