arch/sparc/mm/init_64.c:1622:22: error: unused variable '__swapper_4m_tsb_phys_patch_end' [-Werror=unused-variable] arch/sparc/mm/init_64.c:1621:22: error: unused variable '__swapper_4m_tsb_phys_patch' [-Werror=unused-variable]
Unified · Split
| @@ -1618,18 +1618,20 @@ static void ktsb_phys_patch(void) · 1617 unmodified lines | ||
| 1618 | 1618 | { |
| 1619 | 1619 | extern unsigned int __swapper_tsb_phys_patch; |
| 1620 | 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 | 1621 | unsigned long ktsb_pa; |
| 1624 | 1622 | |
| 1625 | 1623 | ktsb_pa = kern_base + ((unsigned long)&swapper_tsb[0] - KERNBASE); |
| 1626 | 1624 | patch_one_ktsb_phys(&__swapper_tsb_phys_patch, |
| 1627 | 1625 | &__swapper_tsb_phys_patch_end, ktsb_pa); |
| 1628 | 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 | 1630 | ktsb_pa = (kern_base + |
| 1630 | 1631 | ((unsigned long)&swapper_4m_tsb[0] - KERNBASE)); |
| 1631 | 1632 | patch_one_ktsb_phys(&__swapper_4m_tsb_phys_patch, |
| 1632 | 1633 | &__swapper_4m_tsb_phys_patch_end, ktsb_pa); |
| 1634 | + } | |
| 1633 | 1635 | #endif |
| 1634 | 1636 | } |
| 1635 | 1637 | |