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

From: rkuo
Date: Fri Dec 06 2013 - 13:21:41 EST


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@xxxxxxxxx>
> ---
> arch/hexagon/include/uapi/asm/setup.h | 5 +++++
> 1 files changed, 5 insertions(+), 0 deletions(-)
>

Acked-by: Richard Kuo <rkuo@xxxxxxxxxxxxxx>

--

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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/