projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc6adfb
)
[POWERPC] Fix 1TB segment detection
author
Olof Johansson
<olof@lixom.net>
Fri, 12 Oct 2007 06:44:55 +0000
(16:44 +1000)
committer
Paul Mackerras
<paulus@samba.org>
Wed, 17 Oct 2007 12:30:08 +0000
(22:30 +1000)
Buglet in the 1TB detection makes it return after checking the first
property word, even if it's not a match.
Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/mm/hash_utils_64.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/mm/hash_utils_64.c
b/arch/powerpc/mm/hash_utils_64.c
index 611ad084b7e7177bb212ae291d2152062086b9fb..09da90b5385045dac3b9348a507aea13b94120c7 100644
(file)
--- a/
arch/powerpc/mm/hash_utils_64.c
+++ b/
arch/powerpc/mm/hash_utils_64.c
@@
-209,8
+209,8
@@
static int __init htab_dt_scan_seg_sizes(unsigned long node,
if (prop[0] == 40) {
DBG("1T segment support detected\n");
cur_cpu_spec->cpu_features |= CPU_FTR_1T_SEGMENT;
+ return 1;
}
- return 1;
}
return 0;
}