[-mm Patch] uml: fix a building error
- From: WANG Cong <xiyou.wangcong@xxxxxxxxx>
- Date: Thu, 17 Jan 2008 21:56:41 +0800
This patch fixes this building error:
...
drivers/char/mem.c: In function ‘read_mem’:
drivers/char/mem.c:136: error: implicit declaration of function ‘unxlate_dev_mem_ptr’
...
Cc: Jeff Dike <jdike@xxxxxxxxxxx>
Signed-off-by: WANG Cong <xiyou.wangcong@xxxxxxxxx>
---
Index: linux/include/asm-um/io.h
===================================================================
--- linux.orig/include/asm-um/io.h
+++ linux/include/asm-um/io.h
@@ -27,6 +27,7 @@ static inline void * phys_to_virt(unsign
* access
*/
#define xlate_dev_mem_ptr(p) __va(p)
+#define unxlate_dev_mem_ptr(p, ptr)
/*
* Convert a virtual cached pointer to an uncached pointer
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [-mm Patch] uml: fix a building error
- From: Mariusz Kozlowski
- Re: [-mm Patch] uml: fix a building error
- From: Jeff Dike
- Re: [-mm Patch] uml: fix a building error
- References:
- 2.6.24-rc8-mm1
- From: Andrew Morton
- 2.6.24-rc8-mm1
- Prev by Date: [PATCH] x86: clean arch/[i386|x86_64] in make mrproper
- Next by Date: Re: [linux-kernel] Re: [PATCH] x86: provide a DMI based port 0x80 I/O delay override.
- Previous by thread: Re: 2.6.24-rc8-mm1 kernel panic while bootup
- Next by thread: Re: [-mm Patch] uml: fix a building error
- Index(es):