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>
此提交包含在:
Kukjin Kim
2011-03-23 14:45:29 +09:00
父節點 b9ab19f936
當前提交 9d5fda6656
共有 2 個檔案被更改,包括 5 行新增5 行删除

查看文件

@@ -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;
}