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

rkuo
2013-12-06T18:21:38Z

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 file 'linux/init.h' is not exported
>
>
> Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
> ---
> arch/hexagon/include/uapi/asm/setup.h | 5 +++++
> 1 files changed, 5 insertions(+), 0 deletions(-)
>

Acked-by: Richard Kuo <rkuo@codeaurora.org>

--

Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation