diff options
author | Eric Cooper <ecc@cmu.edu> | 2011-02-02 23:16:09 +0100 |
---|---|---|
committer | Nicolas Pitre <nico@fluxnic.net> | 2011-03-03 22:26:55 +0100 |
commit | 868d172b8ac23070418ec6265195e88e8d5dbe92 (patch) | |
tree | 7e7b0b853c92c6ed96c8d61828ab0c4fe3cd4cb4 /arch/arm/include/asm/kexec.h | |
parent | [ARM] orion5x: accelerate NAND on the TS-78xx (diff) | |
download | linux-868d172b8ac23070418ec6265195e88e8d5dbe92.tar.xz linux-868d172b8ac23070418ec6265195e88e8d5dbe92.zip |
[ARM] add machine-specific hook to machine_kexec
Provide the option to call a machine-specific function
before kexec'ing a new kernel.
Signed-off-by: Eric Cooper <ecc@cmu.edu>
Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
Diffstat (limited to 'arch/arm/include/asm/kexec.h')
-rw-r--r-- | arch/arm/include/asm/kexec.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/include/asm/kexec.h b/arch/arm/include/asm/kexec.h index c0094d8edae4..c2b9b4bdec00 100644 --- a/arch/arm/include/asm/kexec.h +++ b/arch/arm/include/asm/kexec.h @@ -50,6 +50,9 @@ static inline void crash_setup_regs(struct pt_regs *newregs, } } +/* Function pointer to optional machine-specific reinitialization */ +extern void (*kexec_reinit)(void); + #endif /* __ASSEMBLY__ */ #endif /* CONFIG_KEXEC */ |