Commit 022ae414 authored by Martin Schwidefsky's avatar Martin Schwidefsky

[S390] remove __io_virt and mmiowb.

Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 045236ab
...@@ -17,8 +17,6 @@ ...@@ -17,8 +17,6 @@
#define IO_SPACE_LIMIT 0xffffffff #define IO_SPACE_LIMIT 0xffffffff
#define __io_virt(x) ((void *)(PAGE_OFFSET | (unsigned long)(x)))
/* /*
* Change virtual addresses to physical addresses and vv. * Change virtual addresses to physical addresses and vv.
* These are pretty trivial * These are pretty trivial
...@@ -37,11 +35,9 @@ static inline unsigned long virt_to_phys(volatile void * address) ...@@ -37,11 +35,9 @@ static inline unsigned long virt_to_phys(volatile void * address)
static inline void * phys_to_virt(unsigned long address) static inline void * phys_to_virt(unsigned long address)
{ {
return __io_virt(address); return (void *) address;
} }
#define mmiowb() do { } while (0)
/* /*
* Convert a physical pointer to a virtual kernel pointer for /dev/mem * Convert a physical pointer to a virtual kernel pointer for /dev/mem
* access * access
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment