diff options
author | Paul Mackerras <paulus@samba.org> | 2006-10-18 10:11:22 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-10-18 10:12:53 +1000 |
commit | b0a779debd56514b2b5de7617a1643e5dac2d4dd (patch) | |
tree | e342bf44d34b8944da803efc690197988319fa4f /init | |
parent | 035223fb28791f0eb0d5719727355d3f6817d228 (diff) | |
download | kernel_samsung_smdk4412-b0a779debd56514b2b5de7617a1643e5dac2d4dd.tar.gz kernel_samsung_smdk4412-b0a779debd56514b2b5de7617a1643e5dac2d4dd.tar.bz2 kernel_samsung_smdk4412-b0a779debd56514b2b5de7617a1643e5dac2d4dd.zip |
[POWERPC] Make sure interrupt enable gets restored properly
The lazy IRQ disable patch missed a couple of places where the
interrupt enable flags need to be restored correctly. First, we
weren't restoring the paca->hard_enabled flag on interrupt exit.
Instead of saving it on entry, we compute it from the MSR_EE bit
in the MSR we are restoring at exit. Secondly, the MMU hash miss
code was clearing both paca->soft_enabled and paca->hard_enabled
but not restoring them in the case where hash_page was able to
resolve the miss from the Linux page tables.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions