summaryrefslogtreecommitdiffstats
path: root/arch/um/include/asm
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2008-08-18 03:25:24 -0400
committerH. Peter Anvin <hpa@zytor.com>2008-10-22 22:55:21 -0700
commit6a0eec8224db1191876770f7cac31f2a2637a6f5 (patch)
treef47080809d4b67f709667f387eb1e4bd7841ce18 /arch/um/include/asm
parent32926b3be19fa4859c02f248a342f2d62822dcfe (diff)
downloadblackbird-op-linux-6a0eec8224db1191876770f7cac31f2a2637a6f5.tar.gz
blackbird-op-linux-6a0eec8224db1191876770f7cac31f2a2637a6f5.zip
x86, um: get rid of system.h -> system.h include
Long-term we want to split system.h and include barriers part from underlying target; for now copy that part to sysdep. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/um/include/asm')
-rw-r--r--arch/um/include/asm/system-i386.h6
-rw-r--r--arch/um/include/asm/system-ppc.h12
-rw-r--r--arch/um/include/asm/system-x86_64.h23
-rw-r--r--arch/um/include/asm/system.h (renamed from arch/um/include/asm/system-generic.h)14
4 files changed, 1 insertions, 54 deletions
diff --git a/arch/um/include/asm/system-i386.h b/arch/um/include/asm/system-i386.h
deleted file mode 100644
index c436263e67ba..000000000000
--- a/arch/um/include/asm/system-i386.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef __UM_SYSTEM_I386_H
-#define __UM_SYSTEM_I386_H
-
-#include "asm/system-generic.h"
-
-#endif
diff --git a/arch/um/include/asm/system-ppc.h b/arch/um/include/asm/system-ppc.h
deleted file mode 100644
index 17cde6640bf5..000000000000
--- a/arch/um/include/asm/system-ppc.h
+++ /dev/null
@@ -1,12 +0,0 @@
-#ifndef __UM_SYSTEM_PPC_H
-#define __UM_SYSTEM_PPC_H
-
-#define _switch_to _ppc_switch_to
-
-#include "asm/arch/system.h"
-
-#undef _switch_to
-
-#include "asm/system-generic.h"
-
-#endif
diff --git a/arch/um/include/asm/system-x86_64.h b/arch/um/include/asm/system-x86_64.h
deleted file mode 100644
index e1b61b580734..000000000000
--- a/arch/um/include/asm/system-x86_64.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * Copyright 2003 PathScale, Inc.
- *
- * Licensed under the GPL
- */
-
-#ifndef __UM_SYSTEM_X86_64_H
-#define __UM_SYSTEM_X86_64_H
-
-#include "asm/system-generic.h"
-
-#endif
-
-/*
- * Overrides for Emacs so that we follow Linus's tabbing style.
- * Emacs will notice this stuff at the end of the file and automatically
- * adjust the settings for this buffer only. This must remain at the end
- * of the file.
- * ---------------------------------------------------------------------------
- * Local variables:
- * c-file-style: "linux"
- * End:
- */
diff --git a/arch/um/include/asm/system-generic.h b/arch/um/include/asm/system.h
index 5bcfa35e7a22..753346e2cdfd 100644
--- a/arch/um/include/asm/system-generic.h
+++ b/arch/um/include/asm/system.h
@@ -1,19 +1,7 @@
#ifndef __UM_SYSTEM_GENERIC_H
#define __UM_SYSTEM_GENERIC_H
-#include "asm/arch/system.h"
-
-#undef switch_to
-#undef local_irq_save
-#undef local_irq_restore
-#undef local_irq_disable
-#undef local_irq_enable
-#undef local_save_flags
-#undef local_irq_restore
-#undef local_irq_enable
-#undef local_irq_disable
-#undef local_irq_save
-#undef irqs_disabled
+#include "sysdep/system.h"
extern void *switch_to(void *prev, void *next, void *last);
OpenPOWER on IntegriCloud