diff options
| -rw-r--r-- | arch/sparc/mm/init_64.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/sparc/mm/init_64.c b/arch/sparc/mm/init_64.c index adfac23d976a..581531dbc8b5 100644 --- a/arch/sparc/mm/init_64.c +++ b/arch/sparc/mm/init_64.c | |||
| @@ -1618,18 +1618,20 @@ static void ktsb_phys_patch(void) | |||
| 1618 | { | 1618 | { |
| 1619 | extern unsigned int __swapper_tsb_phys_patch; | 1619 | extern unsigned int __swapper_tsb_phys_patch; |
| 1620 | extern unsigned int __swapper_tsb_phys_patch_end; | 1620 | extern unsigned int __swapper_tsb_phys_patch_end; |
| 1621 | extern unsigned int __swapper_4m_tsb_phys_patch; | ||
| 1622 | extern unsigned int __swapper_4m_tsb_phys_patch_end; | ||
| 1623 | unsigned long ktsb_pa; | 1621 | unsigned long ktsb_pa; |
| 1624 | 1622 | ||
| 1625 | ktsb_pa = kern_base + ((unsigned long)&swapper_tsb[0] - KERNBASE); | 1623 | ktsb_pa = kern_base + ((unsigned long)&swapper_tsb[0] - KERNBASE); |
| 1626 | patch_one_ktsb_phys(&__swapper_tsb_phys_patch, | 1624 | patch_one_ktsb_phys(&__swapper_tsb_phys_patch, |
| 1627 | &__swapper_tsb_phys_patch_end, ktsb_pa); | 1625 | &__swapper_tsb_phys_patch_end, ktsb_pa); |
| 1628 | #ifndef CONFIG_DEBUG_PAGEALLOC | 1626 | #ifndef CONFIG_DEBUG_PAGEALLOC |
| 1627 | { | ||
| 1628 | extern unsigned int __swapper_4m_tsb_phys_patch; | ||
| 1629 | extern unsigned int __swapper_4m_tsb_phys_patch_end; | ||
| 1629 | ktsb_pa = (kern_base + | 1630 | ktsb_pa = (kern_base + |
| 1630 | ((unsigned long)&swapper_4m_tsb[0] - KERNBASE)); | 1631 | ((unsigned long)&swapper_4m_tsb[0] - KERNBASE)); |
| 1631 | patch_one_ktsb_phys(&__swapper_4m_tsb_phys_patch, | 1632 | patch_one_ktsb_phys(&__swapper_4m_tsb_phys_patch, |
| 1632 | &__swapper_4m_tsb_phys_patch_end, ktsb_pa); | 1633 | &__swapper_4m_tsb_phys_patch_end, ktsb_pa); |
| 1634 | } | ||
| 1633 | #endif | 1635 | #endif |
| 1634 | } | 1636 | } |
| 1635 | 1637 | ||
