Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -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.
---------
---------


   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 {
+1 −1
Original line number Original line Diff line number Diff line
@@ -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
+1 −1
Original line number Original line Diff line number Diff line
@@ -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)
{
{
Loading