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
325df7f2
Commit
325df7f2
authored
Nov 30, 2007
by
Paul Mundt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sh: Explicit alignment for PAGE_SIZE in copy/clear_page().
Signed-off-by:
Paul Mundt
<
lethal@linux-sh.org
>
parent
1efe4ce3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
arch/sh/lib/clear_page.S
arch/sh/lib/clear_page.S
+2
-0
arch/sh/lib/copy_page.S
arch/sh/lib/copy_page.S
+2
-1
No files found.
arch/sh/lib/clear_page.S
View file @
325df7f2
...
...
@@ -50,6 +50,8 @@ ENTRY(clear_page)
!
rts
nop
.
balign
4
.
Llimit
:
.
long
(
PAGE_SIZE
-
28
)
ENTRY
(
__clear_user
)
...
...
arch/sh/lib/copy_page.S
View file @
325df7f2
...
...
@@ -68,8 +68,9 @@ ENTRY(copy_page)
rts
nop
.
align
2
.
balign
4
.
Lpsz
:
.
long
PAGE_SIZE
/*
*
__kernel_size_t
__copy_user
(
void
*
to
,
const
void
*
from
,
__kernel_size_t
n
)
;
*
Return
the
number
of
bytes
NOT
copied
...
...
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