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
1e7f9d0c
Commit
1e7f9d0c
authored
Sep 16, 2004
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: Fix I/O port args to string routines.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
ad508ed8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
arch/sparc64/lib/PeeCeeI.c
arch/sparc64/lib/PeeCeeI.c
+6
-6
No files found.
arch/sparc64/lib/PeeCeeI.c
View file @
1e7f9d0c
...
...
@@ -7,7 +7,7 @@
#include <asm/io.h>
#include <asm/byteorder.h>
void
outsb
(
unsigned
long
addr
,
const
void
*
src
,
unsigned
long
count
)
void
outsb
(
void
__iomem
*
addr
,
const
void
*
src
,
unsigned
long
count
)
{
const
u8
*
p
=
src
;
...
...
@@ -15,7 +15,7 @@ void outsb(unsigned long addr, const void *src, unsigned long count)
outb
(
*
p
++
,
addr
);
}
void
outsw
(
unsigned
long
addr
,
const
void
*
src
,
unsigned
long
count
)
void
outsw
(
void
__iomem
*
addr
,
const
void
*
src
,
unsigned
long
count
)
{
if
(
count
)
{
u16
*
ps
=
(
u16
*
)
src
;
...
...
@@ -44,7 +44,7 @@ void outsw(unsigned long addr, const void *src, unsigned long count)
}
}
void
outsl
(
unsigned
long
addr
,
const
void
*
src
,
unsigned
long
count
)
void
outsl
(
void
__iomem
*
addr
,
const
void
*
src
,
unsigned
long
count
)
{
if
(
count
)
{
if
((((
u64
)
src
)
&
0x3
)
==
0
)
{
...
...
@@ -119,7 +119,7 @@ void outsl(unsigned long addr, const void *src, unsigned long count)
}
}
void
insb
(
unsigned
long
addr
,
void
*
dst
,
unsigned
long
count
)
void
insb
(
void
__iomem
*
addr
,
void
*
dst
,
unsigned
long
count
)
{
if
(
count
)
{
u32
*
pi
;
...
...
@@ -144,7 +144,7 @@ void insb(unsigned long addr, void *dst, unsigned long count)
}
}
void
insw
(
unsigned
long
addr
,
void
*
dst
,
unsigned
long
count
)
void
insw
(
void
__iomem
*
addr
,
void
*
dst
,
unsigned
long
count
)
{
if
(
count
)
{
u16
*
ps
=
dst
;
...
...
@@ -169,7 +169,7 @@ void insw(unsigned long addr, void *dst, unsigned long count)
}
}
void
insl
(
unsigned
long
addr
,
void
*
dst
,
unsigned
long
count
)
void
insl
(
void
__iomem
*
addr
,
void
*
dst
,
unsigned
long
count
)
{
if
(
count
)
{
if
((((
unsigned
long
)
dst
)
&
0x3
)
==
0
)
{
...
...
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