android_kernel_xiaomi_sm8350/include/asm-x86/setup_64.h
H. Peter Anvin 30c826451d [x86] remove uses of magic macros for boot_params access
Instead of using magic macros for boot_params access, simply use the
boot_params structure.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2007-10-16 17:38:31 -07:00

20 lines
308 B
C

#ifndef _x8664_SETUP_H
#define _x8664_SETUP_H
#define COMMAND_LINE_SIZE 2048
#ifdef __KERNEL__
#ifndef __ASSEMBLY__
#include <asm/bootparam.h>
/*
* This is set up by the setup-routine at boot-time
*/
extern struct boot_params boot_params;
#endif /* not __ASSEMBLY__ */
#endif /* __KERNEL__ */
#endif