mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 00:43:12 +00:00
Preparation for introducing asm-generic/io.h this move was required. In asm-generic page_to_phys is placed in page.h - so do the same here. Signed-off-by: Sam Ravnborg <[email protected]> Signed-off-by: David S. Miller <[email protected]>
12 lines
235 B
C
12 lines
235 B
C
#ifndef ___ASM_SPARC_PAGE_H
|
|
#define ___ASM_SPARC_PAGE_H
|
|
|
|
#define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT)
|
|
|
|
#if defined(__sparc__) && defined(__arch64__)
|
|
#include <asm/page_64.h>
|
|
#else
|
|
#include <asm/page_32.h>
|
|
#endif
|
|
#endif
|