Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 279811
b: refs/heads/master
c: 5aafec1
h: refs/heads/master
i:
  279809: 4eac5f2
  279807: 4dbbc53
v: v3
  • Loading branch information
Russell King committed Nov 10, 2011
1 parent 0a9ba79 commit bdf6dcd
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 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: ac15e00b1efe705b66a36d1a6a9db7f6ed524c43
refs/heads/master: 5aafec15bdc54cf0722696c95091d7bd674bfcad
4 changes: 2 additions & 2 deletions trunk/arch/arm/kernel/machine_kexec.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
extern const unsigned char relocate_new_kernel[];
extern const unsigned int relocate_new_kernel_size;

extern void setup_mm_for_reboot(char mode);
extern void setup_mm_for_reboot(void);

extern unsigned long kexec_start_address;
extern unsigned long kexec_indirection_page;
Expand Down Expand Up @@ -114,7 +114,7 @@ void machine_kexec(struct kimage *image)
kexec_reinit();
local_irq_disable();
local_fiq_disable();
setup_mm_for_reboot(0); /* mode is not used, so just pass 0*/
setup_mm_for_reboot();
flush_cache_all();
outer_flush_all();
outer_disable();
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/arm/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ static const char *isa_modes[] = {
"ARM" , "Thumb" , "Jazelle", "ThumbEE"
};

extern void setup_mm_for_reboot(char mode);
extern void setup_mm_for_reboot(void);

static volatile int hlt_counter;

Expand Down Expand Up @@ -103,7 +103,7 @@ void arm_machine_restart(char mode, const char *cmd)
* we may need it to insert some 1:1 mappings so that
* soft boot works.
*/
setup_mm_for_reboot(mode);
setup_mm_for_reboot();

/* Clean and invalidate caches */
flush_cache_all();
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mm/idmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ void identity_mapping_del(pgd_t *pgd, unsigned long addr, unsigned long end)
* the user-mode pages. This will then ensure that we have predictable
* results when turning the mmu off
*/
void setup_mm_for_reboot(char mode)
void setup_mm_for_reboot(void)
{
/*
* We need to access to user-mode page tables here. For kernel threads
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mm/nommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ void __init paging_init(struct machine_desc *mdesc)
/*
* We don't need to do anything here for nommu machines.
*/
void setup_mm_for_reboot(char mode)
void setup_mm_for_reboot(void)
{
}

Expand Down

0 comments on commit bdf6dcd

Please sign in to comment.