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
nexedi
linux
Commits
26b39845
Commit
26b39845
authored
Jun 05, 2002
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sparc: Adjust to new {clear,copy}_user_page calling convention.
parent
80c3ccf5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
include/asm-sparc/page.h
include/asm-sparc/page.h
+2
-2
include/asm-sparc64/page.h
include/asm-sparc64/page.h
+3
-2
No files found.
include/asm-sparc/page.h
View file @
26b39845
...
@@ -54,8 +54,8 @@
...
@@ -54,8 +54,8 @@
#define clear_page(page) memset((void *)(page), 0, PAGE_SIZE)
#define clear_page(page) memset((void *)(page), 0, PAGE_SIZE)
#define copy_page(to,from) memcpy((void *)(to), (void *)(from), PAGE_SIZE)
#define copy_page(to,from) memcpy((void *)(to), (void *)(from), PAGE_SIZE)
#define clear_user_page(
page, vaddr) clear_page(page
)
#define clear_user_page(
addr, vaddr, page) clear_page(addr
)
#define copy_user_page(to, from, vaddr) copy_page(to, from)
#define copy_user_page(to, from, vaddr
, page
) copy_page(to, from)
/* The following structure is used to hold the physical
/* The following structure is used to hold the physical
* memory configuration of the machine. This is filled in
* memory configuration of the machine. This is filled in
...
...
include/asm-sparc64/page.h
View file @
26b39845
...
@@ -35,8 +35,9 @@ extern void do_BUG(const char *file, int line);
...
@@ -35,8 +35,9 @@ extern void do_BUG(const char *file, int line);
extern
void
_clear_page
(
void
*
page
);
extern
void
_clear_page
(
void
*
page
);
#define clear_page(X) _clear_page((void *)(X))
#define clear_page(X) _clear_page((void *)(X))
extern
void
clear_user_page
(
void
*
page
,
unsigned
long
vaddr
);
struct
page
;
extern
void
copy_user_page
(
void
*
to
,
void
*
from
,
unsigned
long
vaddr
);
extern
void
clear_user_page
(
void
*
addr
,
unsigned
long
vaddr
,
struct
page
*
page
);
extern
void
copy_user_page
(
void
*
to
,
void
*
from
,
unsigned
long
vaddr
,
struct
page
*
topage
);
/* GROSS, defining this makes gcc pass these types as aggregates,
/* GROSS, defining this makes gcc pass these types as aggregates,
* and thus on the stack, turn this crap off... -DaveM
* and thus on the stack, turn this crap off... -DaveM
...
...
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