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:
5967b54
)
ARM: cache: add cputype.h for tauros2
author
Chao Xie
<xiechao.mail@gmail.com>
Tue, 31 Jul 2012 06:13:11 +0000
(14:13 +0800)
committer
Haojian Zhuang
<haojian.zhuang@gmail.com>
Thu, 16 Aug 2012 08:16:17 +0000
(16:16 +0800)
Signed-off-by: Chao Xie <xiechao.mail@gmail.com>
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
arch/arm/mm/cache-tauros2.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mm/cache-tauros2.c
b/arch/arm/mm/cache-tauros2.c
index 97e2ac81399fb27aafdbaa98573eec72d2b2984c..4b787bba2b588dfeccf4567986c60044f2c3ae90 100644
(file)
--- a/
arch/arm/mm/cache-tauros2.c
+++ b/
arch/arm/mm/cache-tauros2.c
@@
-17,6
+17,7
@@
#include <linux/init.h>
#include <asm/cacheflush.h>
#include <asm/cp15.h>
+#include <asm/cputype.h>
#include <asm/hardware/cache-tauros2.h>
@@
-161,8
+162,6
@@
static void __init disable_l2_prefetch(void)
static inline int __init cpuid_scheme(void)
{
- extern int processor_id;
-
return !!((processor_id & 0x000f0000) == 0x000f0000);
}
@@
-191,7
+190,6
@@
static inline void __init write_actlr(u32 actlr)
void __init tauros2_init(void)
{
- extern int processor_id;
char *mode = NULL;
disable_l2_prefetch();