diff options
author | Kukjin Kim <kgene.kim@samsung.com> | 2011-03-23 14:45:29 +0900 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2011-03-28 16:17:54 +0900 |
commit | 9d5fda6656fae8004deb81e91bbd144c8743e500 (patch) | |
tree | 8fa5778d21791e02a6c76d866aa7c630f10fa505 /arch/arm/plat-samsung/init.c | |
parent | b9ab19f936e823c31e66702ee553e4d18e910c9a (diff) |
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>
Diffstat (limited to 'arch/arm/plat-samsung/init.c')
-rw-r--r-- | arch/arm/plat-samsung/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-samsung/init.c b/arch/arm/plat-samsung/init.c index 6790edfaca6..79d10fca909 100644 --- a/arch/arm/plat-samsung/init.c +++ b/arch/arm/plat-samsung/init.c @@ -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; } |