Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 60561
b: refs/heads/master
c: 5a26f6b
h: refs/heads/master
i:
  60559: 0b9dffd
v: v3
  • Loading branch information
Michael Neuling authored and Paul Mackerras committed Jun 25, 2007
1 parent 5f63c3b commit 9ef5c0f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 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: 4cefebb1b497a84d61f2fa29d497df75a84b69d4
refs/heads/master: 5a26f6bbb767d7ad23311a1e81cfdd2bebefb855
12 changes: 8 additions & 4 deletions trunk/arch/powerpc/kernel/setup_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -350,13 +350,11 @@ void __init setup_system(void)
{
DBG(" -> setup_system()\n");

/* Apply the CPUs-specific and firmware specific fixups to kernel
* text (nop out sections not relevant to this CPU or this firmware)
/* Apply CPUs-specific fixups to kernel text (nop out sections
* not relevant to this CPU)
*/
do_feature_fixups(cur_cpu_spec->cpu_features,
&__start___ftr_fixup, &__stop___ftr_fixup);
do_feature_fixups(powerpc_firmware_features,
&__start___fw_ftr_fixup, &__stop___fw_ftr_fixup);

/*
* Unflatten the device-tree passed by prom_init or kexec
Expand Down Expand Up @@ -394,6 +392,12 @@ void __init setup_system(void)
if (ppc_md.init_early)
ppc_md.init_early();

/* Apply firmware specific fixups to kernel text (nop out
* sections not relevant to this firmware)
*/
do_feature_fixups(powerpc_firmware_features,
&__start___fw_ftr_fixup, &__stop___fw_ftr_fixup);

/*
* We can discover serial ports now since the above did setup the
* hash table management for us, thus ioremap works. We do that early
Expand Down

0 comments on commit 9ef5c0f

Please sign in to comment.