summaryrefslogtreecommitdiff
path: root/arch/sh/include/asm/rwsem.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-01-21 15:42:58 +0900
committerPaul Mundt <lethal@linux-sh.org>2010-01-21 15:42:58 +0900
commit2023b843d7b62d99e7356b872e99abc7d6667e49 (patch)
tree74e17b43ed1316c6c02055457b4291c1b050f48e /arch/sh/include/asm/rwsem.h
parent77c2019fc1b4495ce483ef2af9cb12bae23e353b (diff)
sh: Rework P2 to only include kernel text.
This effectively neutralizes P2 by getting rid of P1 identity mapping for all available memory and instead only establishes a single unbuffered PMB entry (16MB -- the smallest available) that covers the kernel. As using segmentation for abusing caching attributes in drivers is no longer supported (and there are no drivers that can be enabled in 32-bit mode that do this), this provides us with all of the uncached access needs by the kernel itself. Drivers and their ilk need to specify their caching attributes when remapping through page tables, as usual. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/rwsem.h')
0 files changed, 0 insertions, 0 deletions