Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 279916
b: refs/heads/master
c: 3bdc348
h: refs/heads/master
v: v3
  • Loading branch information
Will Deacon committed Dec 12, 2011
1 parent d98d6bd commit 992792f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 02b73e2e9c288cbbb6ec96bef628cf08e29824c4
refs/heads/master: 3bdc3484e8f2b1b219ad0397d81ce4601fbaf76d
15 changes: 3 additions & 12 deletions trunk/arch/arm/kernel/machine_kexec.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,11 @@
#include <asm/mmu_context.h>
#include <asm/cacheflush.h>
#include <asm/mach-types.h>
#include <asm/system.h>

extern const unsigned char relocate_new_kernel[];
extern const unsigned int relocate_new_kernel_size;

extern void setup_mm_for_reboot(void);

extern unsigned long kexec_start_address;
extern unsigned long kexec_indirection_page;
extern unsigned long kexec_mach_type;
Expand Down Expand Up @@ -111,14 +110,6 @@ void machine_kexec(struct kimage *image)

if (kexec_reinit)
kexec_reinit();
local_irq_disable();
local_fiq_disable();
setup_mm_for_reboot();
flush_cache_all();
outer_flush_all();
outer_disable();
cpu_proc_fin();
outer_inv_all();
flush_cache_all();
cpu_reset(reboot_code_buffer_phys);

soft_restart(reboot_code_buffer_phys);
}

0 comments on commit 992792f

Please sign in to comment.