diff options
author | Rich Felker <dalias@libc.org> | 2016-03-22 22:02:23 (GMT) |
---|---|---|
committer | Rich Felker <dalias@libc.org> | 2016-07-31 03:33:32 (GMT) |
commit | 57155c6523074dd937b8feafcfaa98c82218faa6 (patch) | |
tree | 4ea86ec76b955599269de0963ed4851406997cfc /arch/x86/kernel | |
parent | bbe6c77857c38f4acbdc4fc70399515226d1859a (diff) | |
download | linux-57155c6523074dd937b8feafcfaa98c82218faa6.tar.xz |
sh: disable aliased page logic on NOMMU models
SH3/4 (with MMU) have a virtually indexed cache, requiring explicit
work to avoid consistency problems arising from having the same
physical address range cached in multiple cache lines. This is
unneeded for the NOMMU case, and some of the resulting code paths
(kmap_coherent) don't work. SH2 only avoided this problem by having a
4-way associative cache with way size equal to the page size (4k),
yielding no cache index bits outside of the page offset and thus no
aliases.
Signed-off-by: Rich Felker <dalias@libc.org>
Diffstat (limited to 'arch/x86/kernel')
0 files changed, 0 insertions, 0 deletions