diff options
Diffstat (limited to 'include/asm-um/page.h')
| -rw-r--r-- | include/asm-um/page.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/asm-um/page.h b/include/asm-um/page.h index bd850a249183..2c192abe9aeb 100644 --- a/include/asm-um/page.h +++ b/include/asm-um/page.h | |||
| @@ -96,8 +96,7 @@ extern unsigned long uml_physmem; | |||
| 96 | 96 | ||
| 97 | #define __va_space (8*1024*1024) | 97 | #define __va_space (8*1024*1024) |
| 98 | 98 | ||
| 99 | extern unsigned long to_phys(void *virt); | 99 | #include "mem.h" |
| 100 | extern void *to_virt(unsigned long phys); | ||
| 101 | 100 | ||
| 102 | /* Cast to unsigned long before casting to void * to avoid a warning from | 101 | /* Cast to unsigned long before casting to void * to avoid a warning from |
| 103 | * mmap_kmem about cutting a long long down to a void *. Not sure that | 102 | * mmap_kmem about cutting a long long down to a void *. Not sure that |
