|
@@ -45,13 +45,12 @@
|
|
#include <asm/assembly.h>
|
|
#include <asm/assembly.h>
|
|
#include <asm/pgtable.h>
|
|
#include <asm/pgtable.h>
|
|
#include <asm/cache.h>
|
|
#include <asm/cache.h>
|
|
|
|
+#include <linux/linkage.h>
|
|
|
|
|
|
.text
|
|
.text
|
|
.align 128
|
|
.align 128
|
|
|
|
|
|
- .export flush_tlb_all_local,code
|
|
|
|
-
|
|
|
|
-flush_tlb_all_local:
|
|
|
|
|
|
+ENTRY(flush_tlb_all_local)
|
|
.proc
|
|
.proc
|
|
.callinfo NO_CALLS
|
|
.callinfo NO_CALLS
|
|
.entry
|
|
.entry
|
|
@@ -200,11 +199,11 @@ fdtdone:
|
|
|
|
|
|
.exit
|
|
.exit
|
|
.procend
|
|
.procend
|
|
|
|
+ENDPROC(flush_tlb_all_local)
|
|
|
|
|
|
- .export flush_instruction_cache_local,code
|
|
|
|
.import cache_info,data
|
|
.import cache_info,data
|
|
|
|
|
|
-flush_instruction_cache_local:
|
|
|
|
|
|
+ENTRY(flush_instruction_cache_local)
|
|
.proc
|
|
.proc
|
|
.callinfo NO_CALLS
|
|
.callinfo NO_CALLS
|
|
.entry
|
|
.entry
|
|
@@ -241,11 +240,11 @@ fisync:
|
|
.exit
|
|
.exit
|
|
|
|
|
|
.procend
|
|
.procend
|
|
|
|
+ENDPROC(flush_instruction_cache_local)
|
|
|
|
|
|
- .export flush_data_cache_local, code
|
|
|
|
- .import cache_info, data
|
|
|
|
|
|
|
|
-flush_data_cache_local:
|
|
|
|
|
|
+ .import cache_info, data
|
|
|
|
+ENTRY(flush_data_cache_local)
|
|
.proc
|
|
.proc
|
|
.callinfo NO_CALLS
|
|
.callinfo NO_CALLS
|
|
.entry
|
|
.entry
|
|
@@ -283,11 +282,11 @@ fdsync:
|
|
.exit
|
|
.exit
|
|
|
|
|
|
.procend
|
|
.procend
|
|
|
|
+ENDPROC(flush_data_cache_local)
|
|
|
|
|
|
- .export copy_user_page_asm,code
|
|
|
|
.align 16
|
|
.align 16
|
|
|
|
|
|
-copy_user_page_asm:
|
|
|
|
|
|
+ENTRY(copy_user_page_asm)
|
|
.proc
|
|
.proc
|
|
.callinfo NO_CALLS
|
|
.callinfo NO_CALLS
|
|
.entry
|
|
.entry
|
|
@@ -409,6 +408,7 @@ copy_user_page_asm:
|
|
.exit
|
|
.exit
|
|
|
|
|
|
.procend
|
|
.procend
|
|
|
|
+ENDPROC(copy_user_page_asm)
|
|
|
|
|
|
/*
|
|
/*
|
|
* NOTE: Code in clear_user_page has a hard coded dependency on the
|
|
* NOTE: Code in clear_user_page has a hard coded dependency on the
|
|
@@ -446,9 +446,7 @@ copy_user_page_asm:
|
|
* lobby for such a change.
|
|
* lobby for such a change.
|
|
*/
|
|
*/
|
|
|
|
|
|
- .export copy_user_page_asm,code
|
|
|
|
-
|
|
|
|
-copy_user_page_asm:
|
|
|
|
|
|
+ENTRY(copy_user_page_asm)
|
|
.proc
|
|
.proc
|
|
.callinfo NO_CALLS
|
|
.callinfo NO_CALLS
|
|
.entry
|
|
.entry
|
|
@@ -534,11 +532,10 @@ copy_user_page_asm:
|
|
.exit
|
|
.exit
|
|
|
|
|
|
.procend
|
|
.procend
|
|
|
|
+ENDPROC(copy_user_page_asm)
|
|
#endif
|
|
#endif
|
|
|
|
|
|
- .export __clear_user_page_asm,code
|
|
|
|
-
|
|
|
|
-__clear_user_page_asm:
|
|
|
|
|
|
+ENTRY(__clear_user_page_asm)
|
|
.proc
|
|
.proc
|
|
.callinfo NO_CALLS
|
|
.callinfo NO_CALLS
|
|
.entry
|
|
.entry
|
|
@@ -618,10 +615,9 @@ __clear_user_page_asm:
|
|
.exit
|
|
.exit
|
|
|
|
|
|
.procend
|
|
.procend
|
|
|
|
+ENDPROC(__clear_user_page_asm)
|
|
|
|
|
|
- .export flush_kernel_dcache_page_asm
|
|
|
|
-
|
|
|
|
-flush_kernel_dcache_page_asm:
|
|
|
|
|
|
+ENTRY(flush_kernel_dcache_page_asm)
|
|
.proc
|
|
.proc
|
|
.callinfo NO_CALLS
|
|
.callinfo NO_CALLS
|
|
.entry
|
|
.entry
|
|
@@ -662,10 +658,9 @@ flush_kernel_dcache_page_asm:
|
|
.exit
|
|
.exit
|
|
|
|
|
|
.procend
|
|
.procend
|
|
|
|
+ENDPROC(flush_kernel_dcache_page_asm)
|
|
|
|
|
|
- .export flush_user_dcache_page
|
|
|
|
-
|
|
|
|
-flush_user_dcache_page:
|
|
|
|
|
|
+ENTRY(flush_user_dcache_page)
|
|
.proc
|
|
.proc
|
|
.callinfo NO_CALLS
|
|
.callinfo NO_CALLS
|
|
.entry
|
|
.entry
|
|
@@ -706,10 +701,9 @@ flush_user_dcache_page:
|
|
.exit
|
|
.exit
|
|
|
|
|
|
.procend
|
|
.procend
|
|
|
|
+ENDPROC(flush_user_dcache_page)
|
|
|
|
|
|
- .export flush_user_icache_page
|
|
|
|
-
|
|
|
|
-flush_user_icache_page:
|
|
|
|
|
|
+ENTRY(flush_user_icache_page)
|
|
.proc
|
|
.proc
|
|
.callinfo NO_CALLS
|
|
.callinfo NO_CALLS
|
|
.entry
|
|
.entry
|
|
@@ -750,11 +744,10 @@ flush_user_icache_page:
|
|
.exit
|
|
.exit
|
|
|
|
|
|
.procend
|
|
.procend
|
|
|
|
+ENDPROC(flush_user_icache_page)
|
|
|
|
|
|
|
|
|
|
- .export purge_kernel_dcache_page
|
|
|
|
-
|
|
|
|
-purge_kernel_dcache_page:
|
|
|
|
|
|
+ENTRY(purge_kernel_dcache_page)
|
|
.proc
|
|
.proc
|
|
.callinfo NO_CALLS
|
|
.callinfo NO_CALLS
|
|
.entry
|
|
.entry
|
|
@@ -794,15 +787,14 @@ purge_kernel_dcache_page:
|
|
.exit
|
|
.exit
|
|
|
|
|
|
.procend
|
|
.procend
|
|
|
|
+ENDPROC(purge_kernel_dcache_page)
|
|
|
|
|
|
#if 0
|
|
#if 0
|
|
/* Currently not used, but it still is a possible alternate
|
|
/* Currently not used, but it still is a possible alternate
|
|
* solution.
|
|
* solution.
|
|
*/
|
|
*/
|
|
|
|
|
|
- .export flush_alias_page
|
|
|
|
-
|
|
|
|
-flush_alias_page:
|
|
|
|
|
|
+ENTRY(flush_alias_page)
|
|
.proc
|
|
.proc
|
|
.callinfo NO_CALLS
|
|
.callinfo NO_CALLS
|
|
.entry
|
|
.entry
|
|
@@ -882,10 +874,9 @@ flush_user_dcache_range_asm:
|
|
.exit
|
|
.exit
|
|
|
|
|
|
.procend
|
|
.procend
|
|
|
|
+ENDPROC(flush_alias_page)
|
|
|
|
|
|
- .export flush_kernel_dcache_range_asm
|
|
|
|
-
|
|
|
|
-flush_kernel_dcache_range_asm:
|
|
|
|
|
|
+ENTRY(flush_kernel_dcache_range_asm)
|
|
.proc
|
|
.proc
|
|
.callinfo NO_CALLS
|
|
.callinfo NO_CALLS
|
|
.entry
|
|
.entry
|
|
@@ -905,10 +896,9 @@ flush_kernel_dcache_range_asm:
|
|
.exit
|
|
.exit
|
|
|
|
|
|
.procend
|
|
.procend
|
|
|
|
+ENDPROC(flush_kernel_dcache_range_asm)
|
|
|
|
|
|
- .export flush_user_icache_range_asm
|
|
|
|
-
|
|
|
|
-flush_user_icache_range_asm:
|
|
|
|
|
|
+ENTRY(flush_user_icache_range_asm)
|
|
.proc
|
|
.proc
|
|
.callinfo NO_CALLS
|
|
.callinfo NO_CALLS
|
|
.entry
|
|
.entry
|
|
@@ -927,10 +917,9 @@ flush_user_icache_range_asm:
|
|
.exit
|
|
.exit
|
|
|
|
|
|
.procend
|
|
.procend
|
|
|
|
+ENDPROC(flush_user_icache_range_asm)
|
|
|
|
|
|
- .export flush_kernel_icache_page
|
|
|
|
-
|
|
|
|
-flush_kernel_icache_page:
|
|
|
|
|
|
+ENTRY(flush_kernel_icache_page)
|
|
.proc
|
|
.proc
|
|
.callinfo NO_CALLS
|
|
.callinfo NO_CALLS
|
|
.entry
|
|
.entry
|
|
@@ -971,10 +960,9 @@ flush_kernel_icache_page:
|
|
.exit
|
|
.exit
|
|
|
|
|
|
.procend
|
|
.procend
|
|
|
|
+ENDPROC(flush_kernel_icache_page)
|
|
|
|
|
|
- .export flush_kernel_icache_range_asm
|
|
|
|
-
|
|
|
|
-flush_kernel_icache_range_asm:
|
|
|
|
|
|
+ENTRY(flush_kernel_icache_range_asm)
|
|
.proc
|
|
.proc
|
|
.callinfo NO_CALLS
|
|
.callinfo NO_CALLS
|
|
.entry
|
|
.entry
|
|
@@ -992,14 +980,13 @@ flush_kernel_icache_range_asm:
|
|
nop
|
|
nop
|
|
.exit
|
|
.exit
|
|
.procend
|
|
.procend
|
|
|
|
+ENDPROC(flush_kernel_icache_range_asm)
|
|
|
|
|
|
/* align should cover use of rfi in disable_sr_hashing_asm and
|
|
/* align should cover use of rfi in disable_sr_hashing_asm and
|
|
* srdis_done.
|
|
* srdis_done.
|
|
*/
|
|
*/
|
|
.align 256
|
|
.align 256
|
|
- .export disable_sr_hashing_asm,code
|
|
|
|
-
|
|
|
|
-disable_sr_hashing_asm:
|
|
|
|
|
|
+ENTRY(disable_sr_hashing_asm)
|
|
.proc
|
|
.proc
|
|
.callinfo NO_CALLS
|
|
.callinfo NO_CALLS
|
|
.entry
|
|
.entry
|
|
@@ -1088,5 +1075,6 @@ srdis_done:
|
|
.exit
|
|
.exit
|
|
|
|
|
|
.procend
|
|
.procend
|
|
|
|
+ENDPROC(disable_sr_hashing_asm)
|
|
|
|
|
|
.end
|
|
.end
|