Skip to content

Commit

Permalink
[POWERPC] 4xx: Fix duplicate phys_addr_t definition
Browse files Browse the repository at this point in the history
Commit d04ceb3 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 <jwboyer@linux.vnet.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Josh Boyer authored and Paul Mackerras committed Apr 24, 2008
1 parent df40a57 commit e91d711
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions include/asm-ppc/mmu.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e91d711

Please sign in to comment.