mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 05:04:09 +08:00
[POWERPC] 4xx: Fix duplicate phys_addr_t definition
Commit d04ceb3fc2
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>
This commit is contained in:
parent
df40a57ef1
commit
e91d7119ba
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user