]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: define the conditions where the ePAPR idle hcall can be supported
authorStuart Yoder <stuart.yoder@freescale.com>
Fri, 22 Mar 2013 09:12:13 +0000 (09:12 +0000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 25 Mar 2013 21:47:27 +0000 (08:47 +1100)
commit28090051aae5755360696db584aa4be0776313e6
treeb8a599ea6d3c91a4bc87d7b7ed2974e68a3ddd73
parente020bb9c822dbad61dc3bb56bfdc4a52f411b80d
powerpc: define the conditions where the ePAPR idle hcall can be supported

For 32-bit, CONFIG_EPAPR_PARAVIRT pulls in both epapr_paravirt.c
and epapr_hcalls.c which contains the 32-bit paravirt idle loop.

For 64-bit, the paravirt idle loop is in idle_book3e.S and that
source file is included only if CONFIG_PPC_BOOK3E_64 defined.

This patch makes that dependency for 64-bit explicit.

Fixes these build errors:

arch/powerpc/kernel/built-in.o: In function `restore_pblist_ptr':
ftrace.c:(.toc+0xdc0): undefined reference to `epapr_ev_idle_start'
ftrace.c:(.toc+0xdd0): undefined reference to `epapr_ev_idle'

Signed-off-by: Stuart Yoder <stuart.yoder@freescale.com>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
arch/powerpc/kernel/epapr_paravirt.c