Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Just a place holder. |
| 3 | */ |
| 4 | |
| 5 | #ifndef _SPARC_SETUP_H |
| 6 | #define _SPARC_SETUP_H |
| 7 | |
Sam Ravnborg | 7c4285d | 2008-06-06 21:06:11 +0200 | [diff] [blame] | 8 | #if defined(__sparc__) && defined(__arch64__) |
| 9 | # define COMMAND_LINE_SIZE 2048 |
| 10 | #else |
| 11 | # define COMMAND_LINE_SIZE 256 |
| 12 | #endif |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | |
Daniel Hellstrom | 5fcafb7 | 2011-04-21 04:20:23 +0000 | [diff] [blame] | 14 | #ifdef __KERNEL__ |
| 15 | |
| 16 | #ifdef CONFIG_SPARC32 |
| 17 | /* The CPU that was used for booting |
| 18 | * Only sun4d + leon may have boot_cpu_id != 0 |
| 19 | */ |
| 20 | extern unsigned char boot_cpu_id; |
| 21 | extern unsigned char boot_cpu_id4; |
| 22 | #endif |
| 23 | |
| 24 | #endif /* __KERNEL__ */ |
| 25 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 26 | #endif /* _SPARC_SETUP_H */ |