Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 17d14040 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Ingo Molnar
Browse files

x86: headers cleanup - setup.h



Impact: cleanup

'make headers_check' warn us about leaking of kernel private
(mostly compile time vars) data to userspace in headers. Fix it.

Guard this one by __KERNEL__.

Signed-off-by: default avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: default avatarH. Peter Anvin <hpa@linux.intel.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 5a54bd13
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
#ifndef _ASM_X86_SETUP_H
#ifndef _ASM_X86_SETUP_H
#define _ASM_X86_SETUP_H
#define _ASM_X86_SETUP_H


#ifdef __KERNEL__

#define COMMAND_LINE_SIZE 2048
#define COMMAND_LINE_SIZE 2048


#ifndef __ASSEMBLY__
#ifndef __ASSEMBLY__
@@ -33,8 +35,6 @@ struct x86_quirks {


#endif /* __ASSEMBLY__ */
#endif /* __ASSEMBLY__ */


#ifdef __KERNEL__

#ifdef __i386__
#ifdef __i386__


#include <linux/pfn.h>
#include <linux/pfn.h>