diff options
author | Helge Deller <deller@gmx.de> | 2018-04-10 18:55:13 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2018-04-11 11:40:35 +0200 |
commit | 2a03bb9e7af2052ad6990bf417a3ba9ff7e8900e (patch) | |
tree | f11b00c1def7b851208352b5d436b81179a06849 /arch/parisc/kernel/pacache.S | |
parent | 75abf64287cab73546382a4fa7fa2f4e3516efeb (diff) | |
download | linux-stable-2a03bb9e7af2052ad6990bf417a3ba9ff7e8900e.tar.gz linux-stable-2a03bb9e7af2052ad6990bf417a3ba9ff7e8900e.tar.bz2 linux-stable-2a03bb9e7af2052ad6990bf417a3ba9ff7e8900e.zip |
parisc: Move cache flush functions into .text.hot section
and move the disable_sr_hashing() C and assembly functions into the
.init section.
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/kernel/pacache.S')
-rw-r--r-- | arch/parisc/kernel/pacache.S | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/parisc/kernel/pacache.S b/arch/parisc/kernel/pacache.S index 67b0f7532e83..22e6374ece44 100644 --- a/arch/parisc/kernel/pacache.S +++ b/arch/parisc/kernel/pacache.S @@ -38,9 +38,10 @@ #include <asm/cache.h> #include <asm/ldcw.h> #include <linux/linkage.h> +#include <linux/init.h> - .text - .align 128 + .section .text.hot + .align 16 ENTRY_CFI(flush_tlb_all_local) .proc @@ -328,8 +329,6 @@ fdsync: .procend ENDPROC_CFI(flush_data_cache_local) - .align 16 - /* Macros to serialize TLB purge operations on SMP. */ .macro tlb_lock la,flags,tmp @@ -1216,6 +1215,8 @@ ENTRY_CFI(flush_kernel_icache_range_asm) .procend ENDPROC_CFI(flush_kernel_icache_range_asm) + __INIT + /* align should cover use of rfi in disable_sr_hashing_asm and * srdis_done. */ |