From 465ccab9eb8209a2a402710b24a9bff127b25b94 Mon Sep 17 00:00:00 2001 From: will schmidt Date: Wed, 31 Oct 2007 05:59:33 +1100 Subject: [PATCH] [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 Acked-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras --- Reading git-format-patch failed