Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
6ebeafff
Commit
6ebeafff
authored
Oct 18, 2007
by
Kyle McMartin
Committed by
Kyle McMartin
Oct 18, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PARISC] Clean up pointless ASM_PAGE_SIZE_DIV use
Signed-off-by:
Kyle McMartin
<
kyle@mcmartin.ca
>
parent
80af0876
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
arch/parisc/kernel/asm-offsets.c
arch/parisc/kernel/asm-offsets.c
+0
-2
arch/parisc/kernel/pacache.S
arch/parisc/kernel/pacache.S
+4
-4
No files found.
arch/parisc/kernel/asm-offsets.c
View file @
6ebeafff
...
...
@@ -290,8 +290,6 @@ int main(void)
DEFINE
(
ASM_PTE_ENTRY_SIZE
,
PTE_ENTRY_SIZE
);
DEFINE
(
ASM_PFN_PTE_SHIFT
,
PFN_PTE_SHIFT
);
DEFINE
(
ASM_PT_INITIAL
,
PT_INITIAL
);
DEFINE
(
ASM_PAGE_SIZE_DIV64
,
PAGE_SIZE
/
64
);
DEFINE
(
ASM_PAGE_SIZE_DIV128
,
PAGE_SIZE
/
128
);
BLANK
();
DEFINE
(
EXCDATA_IP
,
offsetof
(
struct
exception_data
,
fault_ip
));
DEFINE
(
EXCDATA_SPACE
,
offsetof
(
struct
exception_data
,
fault_space
));
...
...
arch/parisc/kernel/pacache.S
View file @
6ebeafff
...
...
@@ -289,7 +289,7 @@ ENTRY(copy_user_page_asm)
*/
ldd
0
(%
r25
),
%
r19
ldi
ASM_PAGE_SIZE_DIV128
,
%
r1
ldi
(
PAGE_SIZE
/
128
)
,
%
r1
ldw
64
(%
r25
),
%
r0
/*
prefetch
1
cacheline
ahead
*/
ldw
128
(%
r25
),
%
r0
/*
prefetch
2
*/
...
...
@@ -355,7 +355,7 @@ ENTRY(copy_user_page_asm)
*
use
ldd
/
std
on
a
32
bit
kernel
.
*/
ldw
0
(%
r25
),
%
r19
ldi
ASM_PAGE_SIZE_DIV64
,
%
r1
ldi
(
PAGE_SIZE
/
64
)
,
%
r1
1
:
ldw
4
(%
r25
),
%
r20
...
...
@@ -553,7 +553,7 @@ ENTRY(__clear_user_page_asm)
pdtlb
0
(%
r28
)
#ifdef CONFIG_64BIT
ldi
ASM_PAGE_SIZE_DIV128
,
%
r1
ldi
(
PAGE_SIZE
/
128
)
,
%
r1
/
*
PREFETCH
(
Write
)
has
not
(
yet
)
been
proven
to
help
here
*/
/
*
#
define
PREFETCHW_OP
ldd
256
(
%0
),
%
r0
*/
...
...
@@ -578,7 +578,7 @@ ENTRY(__clear_user_page_asm)
ldo
128
(%
r28
),
%
r28
#else /* ! CONFIG_64BIT */
ldi
ASM_PAGE_SIZE_DIV64
,
%
r1
ldi
(
PAGE_SIZE
/
64
)
,
%
r1
1
:
stw
%
r0
,
0
(%
r28
)
...
...
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