summaryrefslogtreecommitdiffstats
path: root/arch/openrisc/include/asm/system.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2012-03-28 19:30:03 +0200
committerDavid Howells <dhowells@redhat.com>2012-03-28 19:30:03 +0200
commit705f4502bb9592ad0e8fb1cd2ba5ae4ce955ff8b (patch)
tree9cfa64172e5ae8ffaa354d496a24eb5183f206fa /arch/openrisc/include/asm/system.h
parentSplit arch_align_stack() out from asm-generic/system.h (diff)
downloadlinux-705f4502bb9592ad0e8fb1cd2ba5ae4ce955ff8b.tar.xz
linux-705f4502bb9592ad0e8fb1cd2ba5ae4ce955ff8b.zip
Disintegrate asm/system.h for OpenRISC
Disintegrate asm/system.h for OpenRISC. Not compiled. Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> cc: linux@lists.openrisc.net
Diffstat (limited to 'arch/openrisc/include/asm/system.h')
-rw-r--r--arch/openrisc/include/asm/system.h40
1 files changed, 5 insertions, 35 deletions
diff --git a/arch/openrisc/include/asm/system.h b/arch/openrisc/include/asm/system.h
index cf658882186b..a7f40578587c 100644
--- a/arch/openrisc/include/asm/system.h
+++ b/arch/openrisc/include/asm/system.h
@@ -1,35 +1,5 @@
-/*
- * OpenRISC Linux
- *
- * Linux architectural port borrowing liberally from similar works of
- * others. All original copyrights apply as per the original source
- * declaration.
- *
- * OpenRISC implementation:
- * Copyright (C) 2003 Matjaz Breskvar <phoenix@bsemi.com>
- * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se>
- * et al.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- */
-
-#ifndef __ASM_OPENRISC_SYSTEM_H
-#define __ASM_OPENRISC_SYSTEM_H
-
-#ifdef __KERNEL__
-#ifndef __ASSEMBLY__
-
-#include <asm/spr.h>
-#include <asm-generic/system.h>
-
-/* We probably need this definition, but the generic system.h provides it
- * and it's not used on our arch anyway...
- */
-/*#define nop() __asm__ __volatile__ ("l.nop"::)*/
-
-#endif /* __ASSEMBLY__ */
-#endif /* __KERNEL__ */
-#endif /* __ASM_OPENRISC_SYSTEM_H */
+/* FILE TO BE DELETED. DO NOT ADD STUFF HERE! */
+#include <asm/barrier.h>
+#include <asm/cmpxchg.h>
+#include <asm/exec.h>
+#include <asm/switch_to.h>