Commit 705f4502 authored by David Howells's avatar David Howells

Disintegrate asm/system.h for OpenRISC

Disintegrate asm/system.h for OpenRISC.  Not compiled.
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
cc: linux@lists.openrisc.net
parent 5d125066
...@@ -4,6 +4,7 @@ header-y += spr_defs.h ...@@ -4,6 +4,7 @@ header-y += spr_defs.h
generic-y += atomic.h generic-y += atomic.h
generic-y += auxvec.h generic-y += auxvec.h
generic-y += barrier.h
generic-y += bitsperlong.h generic-y += bitsperlong.h
generic-y += bug.h generic-y += bug.h
generic-y += bugs.h generic-y += bugs.h
...@@ -19,6 +20,7 @@ generic-y += div64.h ...@@ -19,6 +20,7 @@ generic-y += div64.h
generic-y += dma.h generic-y += dma.h
generic-y += emergency-restart.h generic-y += emergency-restart.h
generic-y += errno.h generic-y += errno.h
generic-y += exec.h
generic-y += fb.h generic-y += fb.h
generic-y += fcntl.h generic-y += fcntl.h
generic-y += ftrace.h generic-y += ftrace.h
...@@ -55,6 +57,7 @@ generic-y += sockios.h ...@@ -55,6 +57,7 @@ generic-y += sockios.h
generic-y += statfs.h generic-y += statfs.h
generic-y += stat.h generic-y += stat.h
generic-y += string.h generic-y += string.h
generic-y += switch_to.h
generic-y += swab.h generic-y += swab.h
generic-y += termbits.h generic-y += termbits.h
generic-y += termios.h generic-y += termios.h
......
/* /* FILE TO BE DELETED. DO NOT ADD STUFF HERE! */
* OpenRISC Linux #include <asm/barrier.h>
* #include <asm/cmpxchg.h>
* Linux architectural port borrowing liberally from similar works of #include <asm/exec.h>
* others. All original copyrights apply as per the original source #include <asm/switch_to.h>
* 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 */
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
#include <asm/pgtable.h> #include <asm/pgtable.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <asm/system.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/processor.h> #include <asm/processor.h>
#include <asm/mmu.h> #include <asm/mmu.h>
......
...@@ -38,7 +38,6 @@ ...@@ -38,7 +38,6 @@
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <asm/pgtable.h> #include <asm/pgtable.h>
#include <asm/system.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/processor.h> #include <asm/processor.h>
#include <asm/spr_defs.h> #include <asm/spr_defs.h>
......
...@@ -42,7 +42,6 @@ ...@@ -42,7 +42,6 @@
#include <asm/processor.h> #include <asm/processor.h>
#include <asm/irq.h> #include <asm/irq.h>
#include <linux/io.h> #include <linux/io.h>
#include <asm/system.h>
#include <asm/mmu.h> #include <asm/mmu.h>
#include <asm/pgtable.h> #include <asm/pgtable.h>
#include <asm/sections.h> #include <asm/sections.h>
......
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
#include <asm/segment.h> #include <asm/segment.h>
#include <asm/page.h> #include <asm/page.h>
#include <asm/pgtable.h> #include <asm/pgtable.h>
#include <asm/system.h>
/* /*
* Copy the thread state to a regset that can be interpreted by userspace. * Copy the thread state to a regset that can be interpreted by userspace.
......
...@@ -41,7 +41,6 @@ ...@@ -41,7 +41,6 @@
#include <linux/of_platform.h> #include <linux/of_platform.h>
#include <asm/segment.h> #include <asm/segment.h>
#include <asm/system.h>
#include <asm/pgtable.h> #include <asm/pgtable.h>
#include <asm/types.h> #include <asm/types.h>
#include <asm/setup.h> #include <asm/setup.h>
......
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
#include <linux/kallsyms.h> #include <linux/kallsyms.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <asm/system.h>
#include <asm/segment.h> #include <asm/segment.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/pgtable.h> #include <asm/pgtable.h>
......
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
#include <linux/pagemap.h> #include <linux/pagemap.h>
#include <linux/memblock.h> #include <linux/memblock.h>
#include <asm/system.h>
#include <asm/segment.h> #include <asm/segment.h>
#include <asm/pgalloc.h> #include <asm/pgalloc.h>
#include <asm/pgtable.h> #include <asm/pgtable.h>
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
#include <linux/mm.h> #include <linux/mm.h>
#include <linux/init.h> #include <linux/init.h>
#include <asm/system.h>
#include <asm/segment.h> #include <asm/segment.h>
#include <asm/tlbflush.h> #include <asm/tlbflush.h>
#include <asm/pgtable.h> #include <asm/pgtable.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment