Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67540
b: refs/heads/master
c: 38db7e7
h: refs/heads/master
v: v3
  • Loading branch information
Grant Likely authored and Paul Mackerras committed Oct 11, 2007
1 parent d394b4b commit 097dd21
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 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: dc9b43d0f706852fc4abce5bf28958db41524328
refs/heads/master: 38db7e740ade7f07f6315e3a3b1172d7e456b793
3 changes: 2 additions & 1 deletion trunk/arch/powerpc/kernel/setup_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,8 @@ void __init setup_arch(char **cmdline_p)
conswitchp = &dummy_con;
#endif

ppc_md.setup_arch();
if (ppc_md.setup_arch)
ppc_md.setup_arch();
if ( ppc_md.progress ) ppc_md.progress("arch: exit", 0x3eab);

paging_init();
Expand Down
3 changes: 2 additions & 1 deletion trunk/arch/powerpc/kernel/setup_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,8 @@ void __init setup_arch(char **cmdline_p)
conswitchp = &dummy_con;
#endif

ppc_md.setup_arch();
if (ppc_md.setup_arch)
ppc_md.setup_arch();

paging_init();
ppc64_boot_msg(0x15, "Setup Done");
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/asm-powerpc/machdep.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ struct machdep_calls {
#endif /* CONFIG_PPC64 */

int (*probe)(void);
void (*setup_arch)(void);
void (*setup_arch)(void); /* Optional, may be NULL */
void (*init_early)(void);
/* Optional, may be NULL. */
void (*show_cpuinfo)(struct seq_file *m);
Expand Down

0 comments on commit 097dd21

Please sign in to comment.