diff options
author | Anton Blanchard <anton@samba.org> | 2014-02-04 00:04:35 -0500 |
---|---|---|
committer | Anton Blanchard <anton@samba.org> | 2014-04-22 20:05:16 -0400 |
commit | b1576fec7f4dd4657694fefc97fda4cf28ec68e9 (patch) | |
tree | 5cb6a303ba74429260ecb200f454172e385b8593 /arch/powerpc/mm/hash_low_64.S | |
parent | 58aedccb1907f05f702f0f6d8f8a57e8efe485b7 (diff) |
powerpc: No need to use dot symbols when branching to a function
binutils is smart enough to know that a branch to a function
descriptor is actually a branch to the functions text address.
Alan tells me that binutils has been doing this for 9 years.
Signed-off-by: Anton Blanchard <anton@samba.org>
Diffstat (limited to 'arch/powerpc/mm/hash_low_64.S')
-rw-r--r-- | arch/powerpc/mm/hash_low_64.S | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/mm/hash_low_64.S b/arch/powerpc/mm/hash_low_64.S index 1136d26a95ae..8bf7537a7f53 100644 --- a/arch/powerpc/mm/hash_low_64.S +++ b/arch/powerpc/mm/hash_low_64.S | |||
@@ -159,7 +159,7 @@ END_MMU_FTR_SECTION_IFSET(MMU_FTR_1T_SEGMENT) | |||
159 | BEGIN_FTR_SECTION | 159 | BEGIN_FTR_SECTION |
160 | mr r4,r30 | 160 | mr r4,r30 |
161 | mr r5,r7 | 161 | mr r5,r7 |
162 | bl .hash_page_do_lazy_icache | 162 | bl hash_page_do_lazy_icache |
163 | END_FTR_SECTION(CPU_FTR_NOEXECUTE|CPU_FTR_COHERENT_ICACHE, CPU_FTR_NOEXECUTE) | 163 | END_FTR_SECTION(CPU_FTR_NOEXECUTE|CPU_FTR_COHERENT_ICACHE, CPU_FTR_NOEXECUTE) |
164 | 164 | ||
165 | /* At this point, r3 contains new PP bits, save them in | 165 | /* At this point, r3 contains new PP bits, save them in |
@@ -471,7 +471,7 @@ END_MMU_FTR_SECTION_IFSET(MMU_FTR_1T_SEGMENT) | |||
471 | BEGIN_FTR_SECTION | 471 | BEGIN_FTR_SECTION |
472 | mr r4,r30 | 472 | mr r4,r30 |
473 | mr r5,r7 | 473 | mr r5,r7 |
474 | bl .hash_page_do_lazy_icache | 474 | bl hash_page_do_lazy_icache |
475 | END_FTR_SECTION(CPU_FTR_NOEXECUTE|CPU_FTR_COHERENT_ICACHE, CPU_FTR_NOEXECUTE) | 475 | END_FTR_SECTION(CPU_FTR_NOEXECUTE|CPU_FTR_COHERENT_ICACHE, CPU_FTR_NOEXECUTE) |
476 | 476 | ||
477 | /* At this point, r3 contains new PP bits, save them in | 477 | /* At this point, r3 contains new PP bits, save them in |
@@ -588,7 +588,7 @@ htab_inval_old_hpte: | |||
588 | li r6,MMU_PAGE_64K /* psize */ | 588 | li r6,MMU_PAGE_64K /* psize */ |
589 | ld r7,STK_PARAM(R9)(r1) /* ssize */ | 589 | ld r7,STK_PARAM(R9)(r1) /* ssize */ |
590 | ld r8,STK_PARAM(R8)(r1) /* local */ | 590 | ld r8,STK_PARAM(R8)(r1) /* local */ |
591 | bl .flush_hash_page | 591 | bl flush_hash_page |
592 | /* Clear out _PAGE_HPTE_SUB bits in the new linux PTE */ | 592 | /* Clear out _PAGE_HPTE_SUB bits in the new linux PTE */ |
593 | lis r0,_PAGE_HPTE_SUB@h | 593 | lis r0,_PAGE_HPTE_SUB@h |
594 | ori r0,r0,_PAGE_HPTE_SUB@l | 594 | ori r0,r0,_PAGE_HPTE_SUB@l |
@@ -812,7 +812,7 @@ END_MMU_FTR_SECTION_IFSET(MMU_FTR_1T_SEGMENT) | |||
812 | BEGIN_FTR_SECTION | 812 | BEGIN_FTR_SECTION |
813 | mr r4,r30 | 813 | mr r4,r30 |
814 | mr r5,r7 | 814 | mr r5,r7 |
815 | bl .hash_page_do_lazy_icache | 815 | bl hash_page_do_lazy_icache |
816 | END_FTR_SECTION(CPU_FTR_NOEXECUTE|CPU_FTR_COHERENT_ICACHE, CPU_FTR_NOEXECUTE) | 816 | END_FTR_SECTION(CPU_FTR_NOEXECUTE|CPU_FTR_COHERENT_ICACHE, CPU_FTR_NOEXECUTE) |
817 | 817 | ||
818 | /* At this point, r3 contains new PP bits, save them in | 818 | /* At this point, r3 contains new PP bits, save them in |