diff options
author | Suzuki K. Poulose <suzuki@in.ibm.com> | 2012-02-13 09:19:18 +0900 |
---|---|---|
committer | Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp> | 2012-02-13 09:19:18 +0900 |
commit | 3d8b733bb0a5be14fab76dd07cd10f340ba8e2f5 (patch) | |
tree | 88746c01446bd402f3cfb4d6cbaae065f078e6d8 /arch/ppc64.c | |
parent | 96f24dc77dc48e4c8f4c3527f4f5b4d27845393c (diff) |
[PATCH v1 2/3][ppc64] Rename the __powerpc__ macro to __powerpc64__ for PPC64.
Makedumpfile uses __powerpc__ as the value of ARCH to control the PPC64
specfic definitions. Rename this to __powerpc64__ for a better readability
of the code as the support for ppc32 will be introduced in the later series.
We could use __powerpc32__ for PPC32.
Signed-off-by: Suzuki Poulose <suzuki@in.ibm.com>
Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
Diffstat (limited to 'arch/ppc64.c')
-rw-r--r-- | arch/ppc64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ppc64.c b/arch/ppc64.c index f860ffd..1cb69e1 100644 --- a/arch/ppc64.c +++ b/arch/ppc64.c @@ -18,7 +18,7 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#ifdef __powerpc__ +#ifdef __powerpc64__ #include "../print_info.h" #include "../elf_info.h" @@ -93,4 +93,4 @@ vaddr_to_paddr_ppc64(unsigned long vaddr) return NOT_PADDR; } -#endif /* powerpc */ +#endif /* powerpc64 */ |