ARM: S3C: Update CPU register mapping practices.
authorBen Dooks <ben@simtec.co.uk>
Thu, 30 Jul 2009 22:23:35 +0000 (23:23 +0100)
committerBen Dooks <ben-linux@fluff.org>
Thu, 30 Jul 2009 22:22:54 +0000 (23:22 +0100)
commite13cf03eaae3792442c401860910d40f33c89a33
tree958c4b0eff64ebf6c850bacf1949d0dbddc2a356
parent78ddb2785980fc01b129c3547463266cae9c6ca9
ARM: S3C: Update CPU register mapping practices.

Currently map-base.h defines the main virtual address mappings made
for all the support S3C SoC series, but does not then define any base
for per-cpu mappings to be made from.

Add S3C_ADDR_CPU() macro to define an virtual address as an offset
from the last of the core mappings.

Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/mach-s3c6400/include/mach/map.h
arch/arm/plat-s3c/include/plat/map-base.h