Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
022ae414
Commit
022ae414
authored
Feb 12, 2007
by
Martin Schwidefsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[S390] remove __io_virt and mmiowb.
Signed-off-by:
Martin Schwidefsky
<
schwidefsky@de.ibm.com
>
parent
045236ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
include/asm-s390/io.h
include/asm-s390/io.h
+1
-5
No files found.
include/asm-s390/io.h
View file @
022ae414
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment