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>
This commit is contained in:
York Sun
2016-06-24 16:46:19 -07:00
parent e61a7534e3
commit 50e93b9565
2 changed files with 10 additions and 0 deletions

View File

@@ -57,6 +57,7 @@ struct arch_global_data {
* 0x2 maintained
*/
phys_addr_t secure_ram;
unsigned long tlb_allocated;
#endif
#ifdef CONFIG_OMAP_COMMON