ARM: 7947/1: Make pgtbl macro more robust
authorChristopher Covington <cov@codeaurora.org>
Tue, 21 Jan 2014 15:25:34 +0000 (16:25 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 28 Jan 2014 14:34:03 +0000 (14:34 +0000)
commit2ab4e8c06dc084c1bba8c8edfa1b33424c16d336
tree9c86b51cc956d71886adf0552c1e9bef03cd30f7
parentf8fe23ec4e89b58e63085ea92348aff3bcca3e14
ARM: 7947/1: Make pgtbl macro more robust

The pgtbl macro couldn't handle the specific
(TEXT_OFFSET - PG_DIR_SIZE) value that the combination of
MSM platforms and LPAE created:

head.S:163: Error: invalid constant (203000) after fixup

Regardless of whether this combination of configuration options
will work on currently support platforms at run time, make it
at least assemble properly.

Signed-off-by: Christopher Covington <cov@codeaurora.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/head.S