projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d75de08
)
[ARM] Kirkwood: small L2 code cleanup
author
Nicolas Pitre
<nico@cam.org>
Fri, 27 Mar 2009 18:22:26 +0000
(14:22 -0400)
committer
Nicolas Pitre
<nico@cam.org>
Sun, 29 Mar 2009 02:39:30 +0000
(22:39 -0400)
Strictly speaking, a MCR instruction does not produce any output.
Signed-off-by: Nicolas Pitre <nico@marvell.com>
arch/arm/mm/cache-feroceon-l2.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mm/cache-feroceon-l2.c
b/arch/arm/mm/cache-feroceon-l2.c
index 1afed5068c2df92ed2e58f6a42faee24745b111d..6e77c042d8e9417ad5b9141c6eab37767693e3ed 100644
(file)
--- a/
arch/arm/mm/cache-feroceon-l2.c
+++ b/
arch/arm/mm/cache-feroceon-l2.c
@@
-258,9
+258,7
@@
static void __init enable_dcache(void)
static void __init __invalidate_icache(void)
{
- int dummy;
-
- __asm__ __volatile__("mcr p15, 0, %0, c7, c5, 0" : "=r" (dummy));
+ __asm__("mcr p15, 0, %0, c7, c5, 0" : : "r" (0));
}
static int __init invalidate_and_disable_icache(void)