summaryrefslogtreecommitdiffstats
path: root/crypto/internal.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2006-12-07 12:43:06 +0900
committerPaul Mundt <lethal@linux-sh.org>2006-12-12 08:42:06 +0900
commitb9b382dabba1e4a106093557933ec4411ebcbe0f (patch)
treed6d18f06d1f032d9b1230569dbacc22cc043a4ee /crypto/internal.h
parente45116b8d71ece9dbe41b114368ff7aebe3ae41a (diff)
downloadblackbird-op-linux-b9b382dabba1e4a106093557933ec4411ebcbe0f.tar.gz
blackbird-op-linux-b9b382dabba1e4a106093557933ec4411ebcbe0f.zip
sh: Reworked swap cache entry encoding for SH-X2 MMU.
In the 64-bit PTE case there's no point in restricting the encoding to the low bits of the PTE, we can instead bump all of this up to the high 32 bits and extend PTE_FILE_MAX_BITS to 32, adopting the same convention used by x86 PAE. There's a minor discrepency between the number of bits used for the swap type encoding between 32 and 64-bit PTEs, but this is unlikely to cause any problem given the extended offset. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'crypto/internal.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud