summaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorYork Sun <york.sun@nxp.com>2016-06-24 16:46:19 -0700
committerYork Sun <york.sun@nxp.com>2016-07-15 09:01:43 -0700
commit50e93b95653da44b9743357dfa3701e8482fd167 (patch)
tree8db0847067eba3dffa8d67bc5ad12a6b3ff2dee0 /arch/arm/include
parente61a7534e33063a76e105d895e5c6317f2d0cd76 (diff)
armv8: Add tlb_allocated to arch global data
When secure ram is used, MMU tables have to be put into secure ram. To use common MMU code, gd->arch.tlb_addr will be used to host TLB entry pointer. To save allocated memory for later use, tlb_allocated variable is added to global data structure. Signed-off-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/global_data.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/global_data.h b/arch/arm/include/asm/global_data.h
index 2d76cd477d..10550174df 100644
--- a/arch/arm/include/asm/global_data.h
+++ b/arch/arm/include/asm/global_data.h
@@ -57,6 +57,7 @@ struct arch_global_data {
* 0x2 maintained
*/
phys_addr_t secure_ram;
+ unsigned long tlb_allocated;
#endif
#ifdef CONFIG_OMAP_COMMON