Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 48093
b: refs/heads/master
c: 022ae41
h: refs/heads/master
i:
  48091: 95541fc
v: v3
  • Loading branch information
Martin Schwidefsky committed Feb 12, 2007
1 parent 2e5123f commit cb5e261
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 045236ab190636c989ae8198eca37cfbafc1430b
refs/heads/master: 022ae414daadb718130679e4eacc105521f11ec7
6 changes: 1 addition & 5 deletions trunk/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 cb5e261

Please sign in to comment.