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
befb173b
Commit
befb173b
authored
Sep 20, 2004
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://drm.bkbits.net/drm-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux
parents
5afe9abc
b3047281
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
include/asm-ppc64/io.h
include/asm-ppc64/io.h
+8
-8
No files found.
include/asm-ppc64/io.h
View file @
befb173b
...
...
@@ -71,35 +71,35 @@ extern unsigned long pci_io_base;
static
inline
unsigned
char
__raw_readb
(
const
volatile
void
__iomem
*
addr
)
{
return
*
(
unsigned
char
__force
*
)
addr
;
return
*
(
volatile
unsigned
char
__force
*
)
addr
;
}
static
inline
unsigned
short
__raw_readw
(
const
volatile
void
__iomem
*
addr
)
{
return
*
(
unsigned
short
__force
*
)
addr
;
return
*
(
volatile
unsigned
short
__force
*
)
addr
;
}
static
inline
unsigned
int
__raw_readl
(
const
volatile
void
__iomem
*
addr
)
{
return
*
(
unsigned
int
__force
*
)
addr
;
return
*
(
volatile
unsigned
int
__force
*
)
addr
;
}
static
inline
unsigned
long
__raw_readq
(
const
volatile
void
__iomem
*
addr
)
{
return
*
(
unsigned
long
__force
*
)
addr
;
return
*
(
volatile
unsigned
long
__force
*
)
addr
;
}
static
inline
void
__raw_writeb
(
unsigned
char
v
,
volatile
void
__iomem
*
addr
)
{
*
(
unsigned
char
__force
*
)
addr
=
v
;
*
(
volatile
unsigned
char
__force
*
)
addr
=
v
;
}
static
inline
void
__raw_writew
(
unsigned
short
v
,
volatile
void
__iomem
*
addr
)
{
*
(
unsigned
short
__force
*
)
addr
=
v
;
*
(
volatile
unsigned
short
__force
*
)
addr
=
v
;
}
static
inline
void
__raw_writel
(
unsigned
int
v
,
volatile
void
__iomem
*
addr
)
{
*
(
unsigned
int
__force
*
)
addr
=
v
;
*
(
volatile
unsigned
int
__force
*
)
addr
=
v
;
}
static
inline
void
__raw_writeq
(
unsigned
long
v
,
volatile
void
__iomem
*
addr
)
{
*
(
unsigned
long
__force
*
)
addr
=
v
;
*
(
volatile
unsigned
long
__force
*
)
addr
=
v
;
}
#define readb(addr) eeh_readb(addr)
#define readw(addr) eeh_readw(addr)
...
...
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