Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=022ae414daadb718130679e4eacc105521f11ec7 Commit: 022ae414daadb718130679e4eacc105521f11ec7 Parent: 045236ab190636c989ae8198eca37cfbafc1430b Author: Martin Schwidefsky <[EMAIL PROTECTED]> AuthorDate: Mon Feb 12 15:49:57 2007 +0100 Committer: Martin Schwidefsky <[EMAIL PROTECTED]> CommitDate: Mon Feb 12 15:49:57 2007 +0100
[S390] remove __io_virt and mmiowb. Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- include/asm-s390/io.h | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/include/asm-s390/io.h b/include/asm-s390/io.h index dca6a6c..b7ff6af 100644 --- 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 - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html