diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-23 11:28:25 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-23 11:28:25 -0400 |
commit | 9bf9b2f3ad6362cdc9ef79291d440a92960b8f51 (patch) | |
tree | c50a317a619096a6ec84c243fafef50388004df6 /arch/powerpc/include | |
parent | 9779a8325a9bbf4ccd3853e0e4064984cf9da9c9 (diff) | |
parent | 54622f10a6aabb8bb2bdacf3dd070046f03dc246 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc
* git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: (53 commits)
powerpc: Support for relocatable kdump kernel
powerpc: Don't use a 16G page if beyond mem= limits
powerpc: Add del_node() for early boot code to prune inapplicable devices.
powerpc: Further compile fixup for STRICT_MM_TYPECHECKS
powerpc: Remove empty #else from signal_64.c
powerpc: Move memory size print into common show_cpuinfo for 32-bit
hvc_console: Remove __devexit annotation of hvc_remove()
hvc_console: Add support for tty window resizing
hvc_console: Fix loop if put_char() returns 0
hvc_console: Add tty driver flag TTY_DRIVER_RESET_TERMIOS
hvc_console: Add a hangup notifier for backends
powerpc/83xx: Add DS1339 RTC support for MPC8349E-mITX boards .dts
powerpc/83xx: Add support for MCU microcontroller in .dts files
powerpc/85xx: Move mpc8572ds.dts to address-cells/size-cells = <2>
of/spi: Support specifying chip select as active high via device tree
powerpc: Remove device_type = "board_control" properties in .dts files
i2c-cpm: Suppress autoprobing for devices
powerpc/85xx: Fix mpc8536ds dma interrupt numbers
powerpc/85xx: Enable enhanced functions for 8536 TSEC
powerpc: Delete unused prom_strtoul and prom_memparse
...
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r-- | arch/powerpc/include/asm/kdump.h | 17 | ||||
-rw-r--r-- | arch/powerpc/include/asm/page.h | 1 |
2 files changed, 13 insertions, 5 deletions
diff --git a/arch/powerpc/include/asm/kdump.h b/arch/powerpc/include/asm/kdump.h index f6c93c716898..a503da9d56f3 100644 --- a/arch/powerpc/include/asm/kdump.h +++ b/arch/powerpc/include/asm/kdump.h | |||
@@ -9,6 +9,12 @@ | |||
9 | * Reserve to the end of the FWNMI area, see head_64.S */ | 9 | * Reserve to the end of the FWNMI area, see head_64.S */ |
10 | #define KDUMP_RESERVE_LIMIT 0x10000 /* 64K */ | 10 | #define KDUMP_RESERVE_LIMIT 0x10000 /* 64K */ |
11 | 11 | ||
12 | /* | ||
13 | * Used to differentiate between relocatable kdump kernel and other | ||
14 | * kernels | ||
15 | */ | ||
16 | #define KDUMP_SIGNATURE 0xfeed1234 | ||
17 | |||
12 | #ifdef CONFIG_CRASH_DUMP | 18 | #ifdef CONFIG_CRASH_DUMP |
13 | 19 | ||
14 | #define KDUMP_TRAMPOLINE_START 0x0100 | 20 | #define KDUMP_TRAMPOLINE_START 0x0100 |
@@ -19,17 +25,18 @@ | |||
19 | #endif /* CONFIG_CRASH_DUMP */ | 25 | #endif /* CONFIG_CRASH_DUMP */ |
20 | 26 | ||
21 | #ifndef __ASSEMBLY__ | 27 | #ifndef __ASSEMBLY__ |
22 | #ifdef CONFIG_CRASH_DUMP | ||
23 | 28 | ||
29 | extern unsigned long __kdump_flag; | ||
30 | |||
31 | #if defined(CONFIG_CRASH_DUMP) && !defined(CONFIG_RELOCATABLE) | ||
24 | extern void reserve_kdump_trampoline(void); | 32 | extern void reserve_kdump_trampoline(void); |
25 | extern void setup_kdump_trampoline(void); | 33 | extern void setup_kdump_trampoline(void); |
26 | 34 | #else | |
27 | #else /* !CONFIG_CRASH_DUMP */ | 35 | /* !CRASH_DUMP || RELOCATABLE */ |
28 | |||
29 | static inline void reserve_kdump_trampoline(void) { ; } | 36 | static inline void reserve_kdump_trampoline(void) { ; } |
30 | static inline void setup_kdump_trampoline(void) { ; } | 37 | static inline void setup_kdump_trampoline(void) { ; } |
38 | #endif | ||
31 | 39 | ||
32 | #endif /* CONFIG_CRASH_DUMP */ | ||
33 | #endif /* __ASSEMBLY__ */ | 40 | #endif /* __ASSEMBLY__ */ |
34 | 41 | ||
35 | #endif /* __PPC64_KDUMP_H */ | 42 | #endif /* __PPC64_KDUMP_H */ |
diff --git a/arch/powerpc/include/asm/page.h b/arch/powerpc/include/asm/page.h index 5ac51e6efc1d..c0b8d4a29a91 100644 --- a/arch/powerpc/include/asm/page.h +++ b/arch/powerpc/include/asm/page.h | |||
@@ -77,6 +77,7 @@ | |||
77 | 77 | ||
78 | #if defined(CONFIG_RELOCATABLE) | 78 | #if defined(CONFIG_RELOCATABLE) |
79 | #ifndef __ASSEMBLY__ | 79 | #ifndef __ASSEMBLY__ |
80 | |||
80 | extern phys_addr_t memstart_addr; | 81 | extern phys_addr_t memstart_addr; |
81 | extern phys_addr_t kernstart_addr; | 82 | extern phys_addr_t kernstart_addr; |
82 | #endif | 83 | #endif |