ARM: SAMSUNG: check processor type before cache restoration in resume
authorInderpal Singh <inderpal.singh@linaro.org>
Thu, 4 Apr 2013 07:01:15 +0000 (16:01 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 4 Apr 2013 07:01:20 +0000 (16:01 +0900)
commitd9cdeb814fd6bb1b5eaa49c5848f10ba7acf992a
tree13704f870f16b8aed79cf0d186f4cfa0086436fe
parent1fa86dcfea3142522e8fd5f85fbbf79b84063cae
ARM: SAMSUNG: check processor type before cache restoration in resume

Only cortex-a9 based samsung platforms have l2x0 cache controller. Hence check
the same before restoring the cache in resume.

This is needed for single kernel image.

Signed-off-by: Inderpal Singh <inderpal.singh@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/plat-samsung/s5p-sleep.S