Skip to content

Commit

Permalink
[S390] remove __io_virt and mmiowb.
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
  • Loading branch information
Martin Schwidefsky committed Feb 12, 2007
1 parent 045236a commit 022ae41
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions include/asm-s390/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 022ae41

Please sign in to comment.