Re: [PATCH] arch: hexagon: include: uapi: asm: setup.h add swith macro __KERNEL__

2013-12-06 Thread rkuo
On Wed, Nov 27, 2013 at 01:28:36PM +0800, Chen Gang wrote: > Define dummy '__init' instead of include "linux/init.h" if !__KERNEL__, > or can not pass checking. The related error (with allmodconfig under > hexagon): > > CHECK include/asm (34 files) > usr/include/asm/setup.h:22: included fi

[PATCH] arch: hexagon: include: uapi: asm: setup.h add swith macro __KERNEL__

2013-11-26 Thread Chen Gang
Define dummy '__init' instead of include "linux/init.h" if !__KERNEL__, or can not pass checking. The related error (with allmodconfig under hexagon): CHECK include/asm (34 files) usr/include/asm/setup.h:22: included file 'linux/init.h' is not exported Signed-off-by: Chen Gang --- arch