[PATCH] [PPC] 4xx: Fix arch/ppc 440 builds

2008-04-19 Thread Josh Boyer
Commit d04ceb3fc294ea2c4f538a04343f3a473953a3b0 moved phys_addr_t definitions
to include/asm-powerpc/types.h.  However, arch/ppc 440 builds had a duplicate
definition in include/asm-ppc/mmu.h that caused the build to fail.

This removes the duplicate definition in arch/ppc.

Signed-off-by: Josh Boyer [EMAIL PROTECTED]

---
 include/asm-ppc/mmu.h |2 --
 1 file changed, 2 deletions(-)

--- linux-2.6.orig/include/asm-ppc/mmu.h
+++ linux-2.6/include/asm-ppc/mmu.h
@@ -15,10 +15,8 @@
  * physical need a larger than native word size type. -Matt
  */
 #ifndef CONFIG_PHYS_64BIT
-typedef unsigned long phys_addr_t;
 #define PHYS_FMT   %.8lx
 #else
-typedef unsigned long long phys_addr_t;
 extern phys_addr_t fixup_bigphys_addr(phys_addr_t, phys_addr_t);
 #define PHYS_FMT   %16Lx
 #endif

___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev


Re: [PATCH] [PPC] 4xx: Fix arch/ppc 440 builds

2008-04-19 Thread Josh Boyer
On Sat, 2008-04-19 at 10:26 -0500, Josh Boyer wrote:
 Commit d04ceb3fc294ea2c4f538a04343f3a473953a3b0 moved phys_addr_t definitions
 to include/asm-powerpc/types.h.  However, arch/ppc 440 builds had a duplicate
 definition in include/asm-ppc/mmu.h that caused the build to fail.
 
 This removes the duplicate definition in arch/ppc.
 
 Signed-off-by: Josh Boyer [EMAIL PROTECTED]

Ignore this.  The patch is correct but the subject is misleading because
there is another commit that breaks arch/ppc builds for 440.

I'll resend once I fix that as well.  I hate arch/ppc.

josh

___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev