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
7f9afa4f
Commit
7f9afa4f
authored
Apr 29, 2003
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] Fix a collection of missed changes from cache API changes.
parent
452ae362
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
169 additions
and
207 deletions
+169
-207
arch/arm/kernel/signal.c
arch/arm/kernel/signal.c
+5
-2
arch/arm/mach-sa1100/sleep.S
arch/arm/mach-sa1100/sleep.S
+1
-1
arch/arm/mm/proc-arm2_3.S
arch/arm/mm/proc-arm2_3.S
+3
-0
arch/arm/mm/proc-arm6_7.S
arch/arm/mm/proc-arm6_7.S
+149
-194
arch/arm/mm/proc-syms.c
arch/arm/mm/proc-syms.c
+11
-10
No files found.
arch/arm/kernel/signal.c
View file @
7f9afa4f
...
@@ -362,8 +362,8 @@ setup_return(struct pt_regs *regs, struct k_sigaction *ka,
...
@@ -362,8 +362,8 @@ setup_return(struct pt_regs *regs, struct k_sigaction *ka,
* Ensure that the instruction cache sees
* Ensure that the instruction cache sees
* the return code written onto the stack.
* the return code written onto the stack.
*/
*/
cpu_icache_invalidat
e_range
((
unsigned
long
)
rc
,
flush_icach
e_range
((
unsigned
long
)
rc
,
(
unsigned
long
)(
rc
+
1
));
(
unsigned
long
)(
rc
+
1
));
retcode
=
((
unsigned
long
)
rc
)
+
thumb
;
retcode
=
((
unsigned
long
)
rc
)
+
thumb
;
}
}
...
@@ -570,6 +570,9 @@ static int do_signal(sigset_t *oldset, struct pt_regs *regs, int syscall)
...
@@ -570,6 +570,9 @@ static int do_signal(sigset_t *oldset, struct pt_regs *regs, int syscall)
/* ldr pc, [sp], #12 */
/* ldr pc, [sp], #12 */
put_user
(
0xe49df00c
,
&
usp
[
2
]);
put_user
(
0xe49df00c
,
&
usp
[
2
]);
flush_icache_range
((
unsigned
long
)
usp
,
(
unsigned
long
)(
usp
+
3
));
regs
->
ARM_pc
=
regs
->
ARM_sp
+
4
;
regs
->
ARM_pc
=
regs
->
ARM_sp
+
4
;
}
}
}
}
...
...
arch/arm/mach-sa1100/sleep.S
View file @
7f9afa4f
...
@@ -54,7 +54,7 @@ ENTRY(sa1100_cpu_suspend)
...
@@ -54,7 +54,7 @@ ENTRY(sa1100_cpu_suspend)
str
r0
,
[
r1
]
str
r0
,
[
r1
]
@
clean
data
cache
and
invalidate
WB
@
clean
data
cache
and
invalidate
WB
bl
cpu_sa1100_cache_clean_invalidat
e_all
bl
v4wb_flush_kern_cach
e_all
@
disable
clock
switching
@
disable
clock
switching
mcr
p15
,
0
,
r1
,
c15
,
c2
,
2
mcr
p15
,
0
,
r1
,
c15
,
c2
,
2
...
...
arch/arm/mm/proc-arm2_3.S
View file @
7f9afa4f
...
@@ -330,6 +330,7 @@ arm3_elf_name: .asciz "v2"
...
@@ -330,6 +330,7 @@ arm3_elf_name: .asciz "v2"
.
long
arm2_processor_functions
.
long
arm2_processor_functions
.
long
0
.
long
0
.
long
0
.
long
0
.
long
0
.
long
0x41560250
.
long
0x41560250
.
long
0xfffffff0
.
long
0xfffffff0
...
@@ -342,6 +343,7 @@ arm3_elf_name: .asciz "v2"
...
@@ -342,6 +343,7 @@ arm3_elf_name: .asciz "v2"
.
long
arm250_processor_functions
.
long
arm250_processor_functions
.
long
0
.
long
0
.
long
0
.
long
0
.
long
0
.
long
0x41560300
.
long
0x41560300
.
long
0xfffffff0
.
long
0xfffffff0
...
@@ -354,4 +356,5 @@ arm3_elf_name: .asciz "v2"
...
@@ -354,4 +356,5 @@ arm3_elf_name: .asciz "v2"
.
long
arm3_processor_functions
.
long
arm3_processor_functions
.
long
0
.
long
0
.
long
0
.
long
0
.
long
0
arch/arm/mm/proc-arm6_7.S
View file @
7f9afa4f
This diff is collapsed.
Click to expand it.
arch/arm/mm/proc-syms.c
View file @
7f9afa4f
...
@@ -11,27 +11,28 @@
...
@@ -11,27 +11,28 @@
#include <linux/mm.h>
#include <linux/mm.h>
#include <asm/cacheflush.h>
#include <asm/cacheflush.h>
#include <asm/pgalloc.h>
#include <asm/proc-fns.h>
#include <asm/proc-fns.h>
#include <asm/tlbflush.h>
#include <asm/tlbflush.h>
EXPORT_SYMBOL
(
__flush_dcache_page
);
EXPORT_SYMBOL
(
__flush_dcache_page
);
#ifndef MULTI_CPU
#ifndef MULTI_CPU
EXPORT_SYMBOL
(
cpu_cache_clean_invalidate_all
);
EXPORT_SYMBOL
(
cpu_dcache_clean_area
);
EXPORT_SYMBOL
(
cpu_cache_clean_invalidate_range
);
EXPORT_SYMBOL
(
cpu_dcache_clean_page
);
EXPORT_SYMBOL
(
cpu_dcache_clean_entry
);
EXPORT_SYMBOL
(
cpu_dcache_clean_range
);
EXPORT_SYMBOL
(
cpu_dcache_invalidate_range
);
EXPORT_SYMBOL
(
cpu_icache_invalidate_range
);
EXPORT_SYMBOL
(
cpu_icache_invalidate_page
);
EXPORT_SYMBOL
(
cpu_set_pgd
);
EXPORT_SYMBOL
(
cpu_set_pte
);
EXPORT_SYMBOL
(
cpu_set_pte
);
#else
#else
EXPORT_SYMBOL
(
processor
);
EXPORT_SYMBOL
(
processor
);
#endif
#endif
#ifndef MULTI_CACHE
EXPORT_SYMBOL_NOVERS
(
__cpuc_flush_kern_all
);
EXPORT_SYMBOL_NOVERS
(
__cpuc_flush_user_all
);
EXPORT_SYMBOL_NOVERS
(
__cpuc_flush_user_range
);
EXPORT_SYMBOL_NOVERS
(
__cpuc_coherent_kern_range
);
EXPORT_SYMBOL_NOVERS
(
__cpuc_flush_dcache_page
);
#else
EXPORT_SYMBOL
(
cpu_cache
);
#endif
/*
/*
* No module should need to touch the TLB (and currently
* No module should need to touch the TLB (and currently
* no modules do. We export this for "loadkernel" support
* no modules do. We export this for "loadkernel" support
...
...
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