arm64: remove __switch_data object from head.S
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 4 Mar 2015 10:51:48 +0000 (11:51 +0100)
committerWill Deacon <will.deacon@arm.com>
Thu, 19 Mar 2015 19:46:01 +0000 (19:46 +0000)
commita871d354f795c4960543fb44c9b59af63367d6cf
treed7094cd1c9938206e7e95c720056d22200d8ca9f
parenta44ef51799109dccba751240e84ca2da937a88ed
arm64: remove __switch_data object from head.S

This removes the confusing __switch_data object from head.S,
and replaces it with standard PC-relative references to the
various symbols it encapsulates.

Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Tested-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/head.S