]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: introduce macro LOAD_REG_ADDR_PIC
authorKevin Hao <haokexin@gmail.com>
Tue, 24 Dec 2013 07:12:05 +0000 (15:12 +0800)
committerScott Wood <scottwood@freescale.com>
Thu, 9 Jan 2014 23:52:15 +0000 (17:52 -0600)
commit705fc0210a675d37a7234a8de348d2a25699994d
tree9a1bef7d4684457e5ff5ba6869e17264a2cf0bc3
parenteb2db2aad12c08dc95b40b6dad8f83717573508b
powerpc: introduce macro LOAD_REG_ADDR_PIC

This is used to get the address of a variable when the kernel is not
running at the linked or relocated address.

Signed-off-by: Kevin Hao <haokexin@gmail.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/include/asm/ppc_asm.h