Nathan Lynch writes: > There are several issues with the rtas_ibm_suspend_me code, which > enables platform-assisted suspension of an LPAR for migration or > hibernation as covered in PAPR 2.2.
On a uniprocessor configuration, with this patch I get: CC arch/powerpc/kernel/rtas.o /home/paulus/kernel/powerpc/arch/powerpc/kernel/rtas.c: In function ‘rtas_percpu_suspend_me’: /home/paulus/kernel/powerpc/arch/powerpc/kernel/rtas.c:702: error: implicit declaration of function ‘get_hard_smp_processor_id’ make[2]: *** [arch/powerpc/kernel/rtas.o] Error 1 I think you need to #include <asm/smp.h> in rtas.c. Paul. _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev