projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
045236a
)
[S390] remove __io_virt and mmiowb.
author
Martin Schwidefsky
<schwidefsky@de.ibm.com>
Mon, 12 Feb 2007 14:49:57 +0000
(15:49 +0100)
committer
Martin Schwidefsky
<schwidefsky@de.ibm.com>
Mon, 12 Feb 2007 14:49:57 +0000
(15:49 +0100)
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
include/asm-s390/io.h
patch
|
blob
|
history
diff --git
a/include/asm-s390/io.h
b/include/asm-s390/io.h
index dca6a6cc103f58e9bbc96de28edd3cc9d96200bd..b7ff6afc3caa87fd5d92d4b238a77dd8efced069 100644
(file)
--- a/
include/asm-s390/io.h
+++ b/
include/asm-s390/io.h
@@
-17,8
+17,6
@@
#define IO_SPACE_LIMIT 0xffffffff
-#define __io_virt(x) ((void *)(PAGE_OFFSET | (unsigned long)(x)))
-
/*
* Change virtual addresses to physical addresses and vv.
* These are pretty trivial
@@
-37,11
+35,9
@@
static inline unsigned long virt_to_phys(volatile void * 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
* access