Commit b8b572e1 authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Paul Mackerras

powerpc: Move include files to arch/powerpc/include/asm

from include/asm-powerpc.  This is the result of a

mkdir arch/powerpc/include/asm
git mv include/asm-powerpc/* arch/powerpc/include/asm

Followed by a few documentation/comment fixups and a couple of places
where <asm-powepc/...> was being used explicitly.  Of the latter only
one was outside the arch code and it is a driver only built for powerpc.
Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 2b12a4c5
...@@ -278,7 +278,7 @@ it with special cases. ...@@ -278,7 +278,7 @@ it with special cases.
a 64-bit platform. a 64-bit platform.
d) request and get assigned a platform number (see PLATFORM_* d) request and get assigned a platform number (see PLATFORM_*
constants in include/asm-powerpc/processor.h constants in arch/powerpc/include/asm/processor.h
32-bit embedded kernels: 32-bit embedded kernels:
...@@ -340,7 +340,7 @@ the block to RAM before passing it to the kernel. ...@@ -340,7 +340,7 @@ the block to RAM before passing it to the kernel.
--------- ---------
The kernel is entered with r3 pointing to an area of memory that is The kernel is entered with r3 pointing to an area of memory that is
roughly described in include/asm-powerpc/prom.h by the structure roughly described in arch/powerpc/include/asm/prom.h by the structure
boot_param_header: boot_param_header:
struct boot_param_header { struct boot_param_header {
......
...@@ -133,7 +133,7 @@ error. Given an arbitrary address, the routine ...@@ -133,7 +133,7 @@ error. Given an arbitrary address, the routine
pci_get_device_by_addr() will find the pci device associated pci_get_device_by_addr() will find the pci device associated
with that address (if any). with that address (if any).
The default include/asm-powerpc/io.h macros readb(), inb(), insb(), The default arch/powerpc/include/asm/io.h macros readb(), inb(), insb(),
etc. include a check to see if the i/o read returned all-0xff's. etc. include a check to see if the i/o read returned all-0xff's.
If so, these make a call to eeh_dn_check_failure(), which in turn If so, these make a call to eeh_dn_check_failure(), which in turn
asks the firmware if the all-ff's value is the sign of a true EEH asks the firmware if the all-ff's value is the sign of a true EEH
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
/* /*
* Low-level I/O routines. * Low-level I/O routines.
* *
* Copied from <file:include/asm-powerpc/io.h> (which has no copyright) * Copied from <file:arch/powerpc/include/asm/io.h> (which has no copyright)
*/ */
static inline int in_8(const volatile unsigned char *addr) static inline int in_8(const volatile unsigned char *addr)
{ {
......
/* /*
* include/asm-powerpc/immap_qe.h
*
* QUICC Engine (QE) Internal Memory Map. * QUICC Engine (QE) Internal Memory Map.
* The Internal Memory Map for devices with QE on them. This * The Internal Memory Map for devices with QE on them. This
* is the superset of all QE devices (8360, etc.). * is the superset of all QE devices (8360, etc.).
......
/* /*
* include/asm-powerpc/ipic.h
*
* IPIC external definitions and structure. * IPIC external definitions and structure.
* *
* Maintainer: Kumar Gala <galak@kernel.crashing.org> * Maintainer: Kumar Gala <galak@kernel.crashing.org>
......
/* /*
* include/asm-powerpc/irqflags.h
*
* IRQ flags handling * IRQ flags handling
*/ */
#ifndef _ASM_IRQFLAGS_H #ifndef _ASM_IRQFLAGS_H
...@@ -10,7 +8,7 @@ ...@@ -10,7 +8,7 @@
/* /*
* Get definitions for raw_local_save_flags(x), etc. * Get definitions for raw_local_save_flags(x), etc.
*/ */
#include <asm-powerpc/hw_irq.h> #include <asm/hw_irq.h>
#else #else
#ifdef CONFIG_TRACE_IRQFLAGS #ifdef CONFIG_TRACE_IRQFLAGS
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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