ARM: SAMSUNG: Fix CPU idmask
This patch fixes CPU idmask of S5P64X0 and EXYNOS4210 and its comparison method because just want to use CPU id for it. Cc: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
此提交包含在:
@@ -36,7 +36,7 @@ static struct cpu_table * __init s3c_lookup_cpu(unsigned long idcode,
|
||||
unsigned int count)
|
||||
{
|
||||
for (; count != 0; count--, tab++) {
|
||||
if ((idcode & tab->idmask) == tab->idcode)
|
||||
if ((idcode & tab->idmask) == (tab->idcode & tab->idmask))
|
||||
return tab;
|
||||
}
|
||||
|
||||
|
新增問題並參考
封鎖使用者