[CPUFREQ] gx-suspmod.c: use boot_cpu_data instead of current_cpu_data
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / asm-h8300 / virtconvert.h
blob19cfd62b11c30ac1206a0f9b4fc61f21fc1efdb5
1 #ifndef __H8300_VIRT_CONVERT__
2 #define __H8300_VIRT_CONVERT__
4 /*
5 * Macros used for converting between virtual and physical mappings.
6 */
8 #ifdef __KERNEL__
10 #include <asm/setup.h>
11 #include <asm/page.h>
13 #define phys_to_virt(vaddr) ((void *) (vaddr))
14 #define virt_to_phys(vaddr) ((unsigned long) (vaddr))
16 #define virt_to_bus virt_to_phys
17 #define bus_to_virt phys_to_virt
19 #endif
20 #endif