aboutsummaryrefslogtreecommitdiff
path: root/include/asm-sh/uaccess_64.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-04-25 12:58:40 +0900
committerPaul Mundt <lethal@linux-sh.org>2008-05-08 19:51:37 +0900
commitccd805874198c248498b5f269656ec14397eeede (patch)
tree14a99723690c207906c4f7e84428457c4251b45d /include/asm-sh/uaccess_64.h
parent9141d30a480850d989fc245909b98670a7b66ec1 (diff)
sh64: Fixup the nommu build.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/asm-sh/uaccess_64.h')
-rw-r--r--include/asm-sh/uaccess_64.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-sh/uaccess_64.h b/include/asm-sh/uaccess_64.h
index f956b7b316c..a9b68d09484 100644
--- a/include/asm-sh/uaccess_64.h
+++ b/include/asm-sh/uaccess_64.h
@@ -274,7 +274,9 @@ struct exception_table_entry
unsigned long insn, fixup;
};
+#ifdef CONFIG_MMU
#define ARCH_HAS_SEARCH_EXTABLE
+#endif
/* Returns 0 if exception not found and fixup.unit otherwise. */
extern unsigned long search_exception_table(unsigned long addr);