[patch 23/33] powerpc: Localize mmu_off

Paul Mackerras paulus at samba.org
Tue Jun 19 16:46:41 EST 2007


Geoff Levand writes:

> This just removes the dependency __mmu_off has on the symbol
> __after_prom_start.  I found the current code inconvenient when I
> wanted to put some debugging code between the call to __mmu_off
> and the branch to __after_prom_start.

So we do an extra unnecessary branch...  I realize it doesn't really
matter, but on the other hand, if you're hacking around with debug
stuff, you can easily change __after_prom_start to the label where
your debug code starts.

Paul.



More information about the Linuxppc-dev mailing list