powerpc: Remove phys_to_abs() now all users have been removed
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / powerpc / include / asm / abs_addr.h
CommitLineData
8882a4da
DG
1#ifndef _ASM_POWERPC_ABS_ADDR_H
2#define _ASM_POWERPC_ABS_ADDR_H
88ced031 3#ifdef __KERNEL__
1da177e4 4
1da177e4
LT
5
6/*
7 * c 2001 PPC 64 Team, IBM Corp
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; either version
12 * 2 of the License, or (at your option) any later version.
13 */
14
95f72d1e 15#include <linux/memblock.h>
d9b2b2a2 16
1da177e4
LT
17#include <asm/types.h>
18#include <asm/page.h>
19#include <asm/prom.h>
56e97b71 20
1da177e4 21/* Convenience macros */
c6e565f2 22#define virt_to_abs(va) __pa(va)
e88bcd1b 23#define abs_to_virt(aa) __va(aa)
1da177e4 24
88ced031 25#endif /* __KERNEL__ */
8882a4da 26#endif /* _ASM_POWERPC_ABS_ADDR_H */