summaryrefslogtreecommitdiffstats
path: root/include/asm-sh/page.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-06-03 18:54:02 +0900
committerPaul Mundt <lethal@linux-sh.org>2008-07-28 18:10:29 +0900
commit66dfe18114839a7297f56f43f03125f4121de79b (patch)
tree74519e931d2205d0871ed541297977100b110a9f /include/asm-sh/page.h
parent74fcc77982e703fe85d8bd5437130fd94c61daee (diff)
downloadop-kernel-dev-66dfe18114839a7297f56f43f03125f4121de79b.zip
op-kernel-dev-66dfe18114839a7297f56f43f03125f4121de79b.tar.gz
sh: Add support for 16kB PAGE_SIZE.
16kB is a useful size on nommu, while 64kB still tends to be too big to be useful. Newer MMUs are likely to support this as well, so plug it in in anticipation of those, too. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/asm-sh/page.h')
-rw-r--r--include/asm-sh/page.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-sh/page.h b/include/asm-sh/page.h
index 5dc01d2..77fb8bf 100644
--- a/include/asm-sh/page.h
+++ b/include/asm-sh/page.h
@@ -12,6 +12,8 @@
# define PAGE_SHIFT 12
#elif defined(CONFIG_PAGE_SIZE_8KB)
# define PAGE_SHIFT 13
+#elif defined(CONFIG_PAGE_SIZE_16KB)
+# define PAGE_SHIFT 14
#elif defined(CONFIG_PAGE_SIZE_64KB)
# define PAGE_SHIFT 16
#else
OpenPOWER on IntegriCloud