diff options
author | Jan Beulich <jbeulich@suse.com> | 2012-11-22 10:47:58 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2012-11-22 10:47:58 +0100 |
commit | d0d4635d034f202bb401a6efa3ba61530f3854ab (patch) | |
tree | 3f2582ada49966c66898d6fdf8568e81098595f7 /xen/include/asm-x86/io.h | |
parent | 7bdfb850aecdf43e2723e0a6c4415d6a81d4d187 (diff) | |
download | xen-d0d4635d034f202bb401a6efa3ba61530f3854ab.tar.gz xen-d0d4635d034f202bb401a6efa3ba61530f3854ab.tar.bz2 xen-d0d4635d034f202bb401a6efa3ba61530f3854ab.zip |
implement vmap()
... and use it as basis for a proper ioremap() on x86.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/include/asm-x86/io.h')
-rw-r--r-- | xen/include/asm-x86/io.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/xen/include/asm-x86/io.h b/xen/include/asm-x86/io.h index 2e4d62046a..122d0a1af2 100644 --- a/xen/include/asm-x86/io.h +++ b/xen/include/asm-x86/io.h @@ -1,14 +1,10 @@ #ifndef _ASM_IO_H #define _ASM_IO_H -#include <xen/config.h> +#include <xen/vmap.h> #include <xen/types.h> #include <asm/page.h> -/* We don't need real ioremap() on Xen/x86. */ -#define ioremap(x,l) (__va(x)) -#define iounmap(p) ((void)0) - #define readb(x) (*(volatile char *)(x)) #define readw(x) (*(volatile short *)(x)) #define readl(x) (*(volatile int *)(x)) |