diff options
author | will schmidt <will_schmidt@vnet.ibm.com> | 2007-10-31 05:59:33 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-11-08 14:15:31 +1100 |
commit | 465ccab9eb8209a2a402710b24a9bff127b25b94 (patch) | |
tree | 2cd2c3012b7cc5da8d582e9dc221b3ff60c1c806 /fs/sysv/file.c | |
parent | e7bda183d4e3f6027ae9181c176a459423d04748 (diff) |
[POWERPC] Fix switch_slb handling of 1T ESID values
Now that we have 1TB segment size support, we need to be using the
GET_ESID_1T macro when comparing ESID values for pc, stack, and
unmapped_base within switch_slb(). A new helper function called
esids_match() contains the logic for deciding when to call GET_ESID
and GET_ESID_1T.
This fixes a duplicate-slb-entry inspired machine-check exception I
was seeing when trying to run java on a power6 partition.
Tested on power6 and power5.
Signed-off-by: Will Schmidt <will_schmidt@vnet.ibm.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'fs/sysv/file.c')
0 files changed, 0 insertions, 0 deletions