summaryrefslogtreecommitdiffstats
path: root/include/asm-um/bug.h
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2006-12-08 11:36:23 +0100
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-08 17:28:39 +0100
commite182c965b6ce0dffed0967a1be2173825a2ede2f (patch)
tree287d3801dc660b4bc39da08400a68b6ea536e30e /include/asm-um/bug.h
parent[PATCH] Generic BUG for x86-64 (diff)
downloadlinux-e182c965b6ce0dffed0967a1be2173825a2ede2f.tar.xz
linux-e182c965b6ce0dffed0967a1be2173825a2ede2f.zip
[PATCH] UML: add generic BUG support
The BUG changes in -mm3 need some arch support. This patch adds the UML support needed. For the most part, it was stolen from the underlying architecture. The exception is the kernel eip < PAGE_OFFSET test, which is wrong for skas mode UMLs. Signed-off-by: Jeff Dike <jdike@addtoit.com> Cc: Jeremy Fitzhardinge <jeremy@goop.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to '')
-rw-r--r--include/asm-um/bug.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-um/bug.h b/include/asm-um/bug.h
index 1e22fa26ff06..3357c5e2468e 100644
--- a/include/asm-um/bug.h
+++ b/include/asm-um/bug.h
@@ -1,4 +1,6 @@
#ifndef __UM_BUG_H
#define __UM_BUG_H
-#include <asm-generic/bug.h>
+
+#include <asm/arch/bug.h>
+
#endif