mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
[PATCH] cleanup asm/setup.h userspace visibility
Make the contents of the userspace asm/setup.h header consistent on all architectures: - export setup.h to userspace on all architectures - export only COMMAND_LINE_SIZE to userspace - frv: move COMMAND_LINE_SIZE from param.h - i386: remove duplicate COMMAND_LINE_SIZE from param.h - arm: - export ATAGs to userspace - change u8/u16/u32 to __u8/__u16/__u32 Signed-off-by: Adrian Bunk <[email protected]> Acked-by: Russell King <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
f46ba2235f
commit
7d1362c0d0
19 changed files with 102 additions and 68 deletions
|
|
@ -1,6 +1,11 @@
|
|||
/*
|
||||
* This is set up by the setup-routine at boot-time
|
||||
*/
|
||||
|
||||
#define COMMAND_LINE_SIZE 512
|
||||
|
||||
#ifdef __KERNEL__
|
||||
|
||||
#define PARAM ((unsigned char *)empty_zero_page)
|
||||
|
||||
#define MOUNT_ROOT_RDONLY (*(unsigned long *) (PARAM+0x000))
|
||||
|
|
@ -18,8 +23,6 @@
|
|||
|
||||
#define SCREEN_INFO (*(struct screen_info *) (PARAM+0x200))
|
||||
|
||||
#define COMMAND_LINE_SIZE (512)
|
||||
|
||||
#define RAMDISK_IMAGE_START_MASK (0x07FF)
|
||||
#define RAMDISK_PROMPT_FLAG (0x8000)
|
||||
#define RAMDISK_LOAD_FLAG (0x4000)
|
||||
|
|
@ -27,3 +30,5 @@
|
|||
extern unsigned long memory_start;
|
||||
extern unsigned long memory_end;
|
||||
|
||||
#endif /* __KERNEL__ */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue