blob: 64718ba26434bb490e2c27a719d5a20f0ea76946 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
2 * Just a place holder.
3 */
4
5#ifndef _SPARC_SETUP_H
6#define _SPARC_SETUP_H
7
Sam Ravnborg7c4285d2008-06-06 21:06:11 +02008#if defined(__sparc__) && defined(__arch64__)
9# define COMMAND_LINE_SIZE 2048
10#else
11# define COMMAND_LINE_SIZE 256
12#endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070013
Daniel Hellstrom5fcafb72011-04-21 04:20:23 +000014#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 */
20extern unsigned char boot_cpu_id;
21extern unsigned char boot_cpu_id4;
22#endif
23
24#endif /* __KERNEL__ */
25
Linus Torvalds1da177e2005-04-16 15:20:36 -070026#endif /* _SPARC_SETUP_H */