mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 00:12:52 +00:00
This patch removes the unused mm_{ptov,vtop}().
Signed-off-by: Adrian Bunk <[email protected]>
Acked-by: Greg Ungerer <[email protected]>
Acked-by: Bryan Wu <[email protected]>
Cc: Miles Bader <[email protected]>
Cc: Yoshinori Sato <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
21 lines
388 B
C
21 lines
388 B
C
#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
|