summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2008-04-14 05:59:02 +0200
committerPaul Mackerras <paulus@samba.org>2008-04-14 13:11:22 +0200
commit320787c75ccac3189a1b7aae81f0efc1055f6d3a (patch)
treee4e6f029fc4633ef184b9af94189236a6f5ea136 /init
parentMerge branch 'linux-2.6' (diff)
downloadlinux-320787c75ccac3189a1b7aae81f0efc1055f6d3a.tar.xz
linux-320787c75ccac3189a1b7aae81f0efc1055f6d3a.zip
[POWERPC] Fix handling of unrecoverable SLB miss interrupts
If an SLB miss interrupt happens while the RI bit of MSR is zero, we can't just return, because RI being zero indicates that SRR0/SRR1 potentially had live values in them, and the process of taking an interrupt overwrites them. This should never happen, but if it does, we try to print a nice oops message. That doesn't work, however, because the code at unrecov_slb assumes that the MMU has been turned on, but we call it with the MMU off (and have done so since the SLB miss handler was rewritten to run without turning the MMU on) -- except on iSeries, where everything runs with the MMU on. This fixes it by adding the necessary code to turn the MMU on if necessary. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions