Re: [PATCH] arc: kernel: export symbol for pm_power_off in reset.c

2013-10-28 Thread Chen Gang
On 10/28/2013 10:09 PM, Vineet Gupta wrote: > On 10/28/2013 09:19 AM, Chen Gang wrote: >> Need export symbol for it, or can not pass compiling, the related error >> with allmodconfig: >> >> MODPOST 2994 modules >> ERROR: "pm_power_off" [drivers/mfd/retu-mfd.ko] undefined! >> ERROR: "pm_pow

Re: [PATCH] arc: kernel: export symbol for pm_power_off in reset.c

2013-10-28 Thread Vineet Gupta
On 10/28/2013 09:19 AM, Chen Gang wrote: > Need export symbol for it, or can not pass compiling, the related error > with allmodconfig: > > MODPOST 2994 modules > ERROR: "pm_power_off" [drivers/mfd/retu-mfd.ko] undefined! > ERROR: "pm_power_off" [drivers/char/ipmi/ipmi_poweroff.ko] undefi

Re: [PATCH] arc: kernel: export symbol for pm_power_off in reset.c

2013-10-27 Thread Chen Gang
After this patch, and with limitations below, arc finishes allmodconfig. - with EXTRA_CFLAGS=-mmedium-calls. - disable CONFIG_CC_OPTIMIZE_FOR_SIZE. - by pass 5-7 gcc issues (4-5 may duplicate). - by pass 1 binutils issue (when disable CONFIG_CC_OPTIMIZE_FOR_SIZE). Next (within 2013-10-3

[PATCH] arc: kernel: export symbol for pm_power_off in reset.c

2013-10-27 Thread Chen Gang
Need export symbol for it, or can not pass compiling, the related error with allmodconfig: MODPOST 2994 modules ERROR: "pm_power_off" [drivers/mfd/retu-mfd.ko] undefined! ERROR: "pm_power_off" [drivers/char/ipmi/ipmi_poweroff.ko] undefined! Signed-off-by: Chen Gang --- arch/arc/kernel