|
|
| File: [Development] / linux-2.6-xfs / include / asm-h8300 / Attic / virtconvert.h (download)
Revision 1.3, Tue Feb 26 16:44:40 2008 UTC (9 years, 7 months ago) by lachlan.longdrop.melbourne.sgi.com
Merge up to 2.6.25-rc3 Merge of 2.6.x-xfs-melb:linux:30555a by kenmcd. |
#ifndef __H8300_VIRT_CONVERT__ #define __H8300_VIRT_CONVERT__ /* * Macros used for converting between virtual and physical mappings. */ #ifdef __KERNEL__ #include <asm/setup.h> #include <asm/page.h> #define phys_to_virt(vaddr) ((void *) (vaddr)) #define virt_to_phys(vaddr) ((unsigned long) (vaddr)) #define virt_to_bus virt_to_phys #define bus_to_virt phys_to_virt #endif #endif