/* * machine_kexec.c for kexec * Created by <nschichan@corp.free.fr> on Thu Oct 12 15:15:06 2006 * * This source code is licensed under the GNU General Public License, * Version 2. See the file COPYING for more details. */ #include <linux/compiler.h> #include <linux/kexec.h> #include <linux/mm.h> #include <linux/delay.h> #include <asm/cacheflush.h> #include <asm/page.h> extern const unsigned char relocate_new_kernel[]; extern const size_t relocate_new_kernel_size; extern unsigned long kexec_start_address; extern unsigned long kexec_indirection_page; int (*_machine_kexec_prepare)(struct kimage *) = NULL; void (*_machine_kexec_shutdown)(void) = NULL; void (*_machine_crash_shutdown)(struct pt_regs *regs) = NULL; #ifdef CONFIG_SMP void (*relocated_kexec_smp_wait) (void *); atomic_t kexec_ready_to_reboot = ATOMIC_INIT(0); void (*_crash_smp_send_stop)(void) = NULL; #endif
int machine_kexec_prepare(struct kimage *kimage) { if (_machine_kexec_prepare) return _machine_kexec_prepare(kimage); return 0; }Contributors
Person | Tokens | Prop | Commits | CommitProp | |
nicolas schichan | nicolas schichan | 13 | 56.52% | 1 | 50.00% |
ralf baechle | ralf baechle | 10 | 43.48% | 1 | 50.00% |
Total | 23 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
nicolas schichan | nicolas schichan | 9 | 100.00% | 1 | 100.00% |
Total | 9 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
ralf baechle | ralf baechle | 9 | 64.29% | 1 | 50.00% |
nicolas schichan | nicolas schichan | 5 | 35.71% | 1 | 50.00% |
Total | 14 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
ralf baechle | ralf baechle | 17 | 68.00% | 1 | 50.00% |
nicolas schichan | nicolas schichan | 8 | 32.00% | 1 | 50.00% |
Total | 25 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
nicolas schichan | nicolas schichan | 164 | 69.20% | 2 | 40.00% |
ralf baechle | ralf baechle | 49 | 20.68% | 2 | 40.00% |
wei yang | wei yang | 24 | 10.13% | 1 | 20.00% |
Total | 237 | 100.00% | 5 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
nicolas schichan | nicolas schichan | 234 | 54.29% | 2 | 28.57% |
ralf baechle | ralf baechle | 160 | 37.12% | 2 | 28.57% |
wei yang | wei yang | 24 | 5.57% | 1 | 14.29% |
hidehiro kawai | hidehiro kawai | 11 | 2.55% | 1 | 14.29% |
tobias klauser | tobias klauser | 2 | 0.46% | 1 | 14.29% |
Total | 431 | 100.00% | 7 | 100.00% |