powerpc/8xx: Optimise access to swapper_pg_dir
authorLEROY Christophe <christophe.leroy@c-s.fr>
Tue, 20 Jan 2015 09:57:34 +0000 (10:57 +0100)
committerScott Wood <scottwood@freescale.com>
Fri, 30 Jan 2015 03:59:02 +0000 (21:59 -0600)
commitfde5a9057fcf2e96da1de3b6acf815c1e7d73f1e
tree5a9bb25c9216625025ba11f7ce89eb75ce0361be
parent17bb312f4c75e59ef6f18015011c4efbb545a748
powerpc/8xx: Optimise access to swapper_pg_dir

All accessed to PGD entries are done via 0(r11).
By using lower part of swapper_pg_dir as load index to r11, we can remove the
ori instruction.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/kernel/head_8xx.S