[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Kernel 2.6.16-rc1 does not build (patch)



I've tried to build 2.6.16-rc1, but I get the following error:

CC      arch/powerpc/kernel/rtas.o
arch/powerpc/kernel/rtas.c: In function 'rtas_percpu_suspend_me':
arch/powerpc/kernel/rtas.c:582: warning: implicit declaration of function 'plpar_hcall_norets'
arch/powerpc/kernel/rtas.c:582: error: 'H_JOIN' undeclared (first use in this function)
arch/powerpc/kernel/rtas.c:582: error: (Each undeclared identifier is reported only once
arch/powerpc/kernel/rtas.c:582: error: for each function it appears in.)
arch/powerpc/kernel/rtas.c:584: error: 'H_Success' undeclared (first use in this function)
arch/powerpc/kernel/rtas.c:588: error: 'H_Continue' undeclared (first use in this function)
arch/powerpc/kernel/rtas.c: In function 'rtas_ibm_suspend_me':
arch/powerpc/kernel/rtas.c:628: error: 'H_PROD' undeclared (first use in this function)



The patch:

I added
	#include <asm/hvcall.h>

to
	./arch/powerpc/kernel/rtas.c

and now it's building (it will take some more time).  Is that modification alright?  I only looked for H_JOIN and include the file that had it, but I'm not sure it that's the way to go.

Eduardo.



Reply to: