arch: hexagon: include: uapi: asm: setup.h add swith macro __KERNEL__
authorChen Gang <gang.chen.5i5j@gmail.com>
Wed, 27 Nov 2013 05:28:36 +0000 (13:28 +0800)
committerRichard Kuo <rkuo@codeaurora.org>
Fri, 4 Apr 2014 23:20:00 +0000 (18:20 -0500)
commit8d7e6a1dbecd58157d952707c9ad6846b96c7d45
treeddc3a1bef654a080b17ace2798e5a7f3611cfc36
parent6becd400f8450062b891dee7e68b14f203e792a5
arch: hexagon: include: uapi: asm: setup.h add swith macro __KERNEL__

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 <gang.chen.5i5j@gmail.com>
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
arch/hexagon/include/uapi/asm/setup.h