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
f50c0283
Commit
f50c0283
authored
Sep 24, 2005
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge master.kernel.org:/home/rmk/linux-2.6-arm
parents
ff13f98b
d2f60748
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
arch/arm/kernel/io.c
arch/arm/kernel/io.c
+3
-3
include/asm-arm/io.h
include/asm-arm/io.h
+3
-3
No files found.
arch/arm/kernel/io.c
View file @
f50c0283
...
...
@@ -7,7 +7,7 @@
* Copy data from IO memory space to "real" memory space.
* This needs to be optimized.
*/
void
_memcpy_fromio
(
void
*
to
,
void
__iomem
*
from
,
size_t
count
)
void
_memcpy_fromio
(
void
*
to
,
const
volatile
void
__iomem
*
from
,
size_t
count
)
{
unsigned
char
*
t
=
to
;
while
(
count
)
{
...
...
@@ -22,7 +22,7 @@ void _memcpy_fromio(void *to, void __iomem *from, size_t count)
* Copy data from "real" memory space to IO memory space.
* This needs to be optimized.
*/
void
_memcpy_toio
(
void
__iomem
*
to
,
const
void
*
from
,
size_t
count
)
void
_memcpy_toio
(
vo
latile
vo
id
__iomem
*
to
,
const
void
*
from
,
size_t
count
)
{
const
unsigned
char
*
f
=
from
;
while
(
count
)
{
...
...
@@ -37,7 +37,7 @@ void _memcpy_toio(void __iomem *to, const void *from, size_t count)
* "memset" on IO memory space.
* This needs to be optimized.
*/
void
_memset_io
(
void
__iomem
*
dst
,
int
c
,
size_t
count
)
void
_memset_io
(
vo
latile
vo
id
__iomem
*
dst
,
int
c
,
size_t
count
)
{
while
(
count
)
{
count
--
;
...
...
include/asm-arm/io.h
View file @
f50c0283
...
...
@@ -136,9 +136,9 @@ extern void __readwrite_bug(const char *fn);
/*
* String version of IO memory access ops:
*/
extern
void
_memcpy_fromio
(
void
*
,
void
__iomem
*
,
size_t
);
extern
void
_memcpy_toio
(
void
__iomem
*
,
const
void
*
,
size_t
);
extern
void
_memset_io
(
void
__iomem
*
,
int
,
size_t
);
extern
void
_memcpy_fromio
(
void
*
,
const
volatile
void
__iomem
*
,
size_t
);
extern
void
_memcpy_toio
(
vo
latile
vo
id
__iomem
*
,
const
void
*
,
size_t
);
extern
void
_memset_io
(
vo
latile
vo
id
__iomem
*
,
int
,
size_t
);
#define mmiowb()
...
...
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