@@ -201,7 +201,8 @@ htab_insert_pte:
201201 li r8,MMU_PAGE_4K /* page size */
202202 li r9,MMU_PAGE_4K /* actual page size */
203203 ld r10,STK_PARAM(R9)(r1) /* segment size */
204- _GLOBAL(htab_call_hpte_insert1)
204+ .globl htab_call_hpte_insert1
205+ htab_call_hpte_insert1:
205206 bl . /* Patched by htab_finish_init() */
206207 cmpdi 0 ,r3,0
207208 bge htab_pte_insert_ok /* Insertion successful */
@@ -225,7 +226,8 @@ _GLOBAL(htab_call_hpte_insert1)
225226 li r8,MMU_PAGE_4K /* page size */
226227 li r9,MMU_PAGE_4K /* actual page size */
227228 ld r10,STK_PARAM(R9)(r1) /* segment size */
228- _GLOBAL(htab_call_hpte_insert2)
229+ .globl htab_call_hpte_insert2
230+ htab_call_hpte_insert2:
229231 bl . /* Patched by htab_finish_init() */
230232 cmpdi 0 ,r3,0
231233 bge+ htab_pte_insert_ok /* Insertion successful */
@@ -242,7 +244,8 @@ _GLOBAL(htab_call_hpte_insert2)
2422442: and r0,r5,r27
243245 rldicr r3,r0,3 ,63 -3 /* r0 = (hash & mask) << 3 */
244246 /* Call ppc_md.hpte_remove */
245- _GLOBAL(htab_call_hpte_remove)
247+ .globl htab_call_hpte_remove
248+ htab_call_hpte_remove:
246249 bl . /* Patched by htab_finish_init() */
247250
248251 /* Try all again */
@@ -296,7 +299,8 @@ htab_modify_pte:
296299 li r7,MMU_PAGE_4K /* actual page size */
297300 ld r8,STK_PARAM(R9)(r1) /* segment size */
298301 ld r9,STK_PARAM(R8)(r1) /* get "local" param */
299- _GLOBAL(htab_call_hpte_updatepp)
302+ .globl htab_call_hpte_updatepp
303+ htab_call_hpte_updatepp:
300304 bl . /* Patched by htab_finish_init() */
301305
302306 /* if we failed because typically the HPTE wasn't really here
@@ -526,7 +530,8 @@ htab_special_pfn:
526530 li r8,MMU_PAGE_4K /* page size */
527531 li r9,MMU_PAGE_4K /* actual page size */
528532 ld r10,STK_PARAM(R9)(r1) /* segment size */
529- _GLOBAL(htab_call_hpte_insert1)
533+ .globl htab_call_hpte_insert1
534+ htab_call_hpte_insert1:
530535 bl . /* patched by htab_finish_init() */
531536 cmpdi 0 ,r3,0
532537 bge htab_pte_insert_ok /* Insertion successful */
@@ -554,7 +559,8 @@ _GLOBAL(htab_call_hpte_insert1)
554559 li r8,MMU_PAGE_4K /* page size */
555560 li r9,MMU_PAGE_4K /* actual page size */
556561 ld r10,STK_PARAM(R9)(r1) /* segment size */
557- _GLOBAL(htab_call_hpte_insert2)
562+ .globl htab_call_hpte_insert2
563+ htab_call_hpte_insert2:
558564 bl . /* patched by htab_finish_init() */
559565 cmpdi 0 ,r3,0
560566 bge+ htab_pte_insert_ok /* Insertion successful */
@@ -571,7 +577,8 @@ _GLOBAL(htab_call_hpte_insert2)
5715772: and r0,r5,r27
572578 rldicr r3,r0,3 ,63 -3 /* r0 = (hash & mask) << 3 */
573579 /* Call ppc_md.hpte_remove */
574- _GLOBAL(htab_call_hpte_remove)
580+ .globl htab_call_hpte_remove
581+ htab_call_hpte_remove:
575582 bl . /* patched by htab_finish_init() */
576583
577584 /* Try all again */
@@ -660,7 +667,8 @@ htab_modify_pte:
660667 li r7,MMU_PAGE_4K /* actual page size */
661668 ld r8,STK_PARAM(R9)(r1) /* segment size */
662669 ld r9,STK_PARAM(R8)(r1) /* get "local" param */
663- _GLOBAL(htab_call_hpte_updatepp)
670+ .globl htab_call_hpte_updatepp
671+ htab_call_hpte_updatepp:
664672 bl . /* patched by htab_finish_init() */
665673
666674 /* if we failed because typically the HPTE wasn't really here
@@ -857,7 +865,8 @@ ht64_insert_pte:
857865 li r8,MMU_PAGE_64K
858866 li r9,MMU_PAGE_64K /* actual page size */
859867 ld r10,STK_PARAM(R9)(r1) /* segment size */
860- _GLOBAL(ht64_call_hpte_insert1)
868+ .globl ht64_call_hpte_insert1
869+ ht64_call_hpte_insert1:
861870 bl . /* patched by htab_finish_init() */
862871 cmpdi 0 ,r3,0
863872 bge ht64_pte_insert_ok /* Insertion successful */
@@ -881,7 +890,8 @@ _GLOBAL(ht64_call_hpte_insert1)
881890 li r8,MMU_PAGE_64K
882891 li r9,MMU_PAGE_64K /* actual page size */
883892 ld r10,STK_PARAM(R9)(r1) /* segment size */
884- _GLOBAL(ht64_call_hpte_insert2)
893+ .globl ht64_call_hpte_insert2
894+ ht64_call_hpte_insert2:
885895 bl . /* patched by htab_finish_init() */
886896 cmpdi 0 ,r3,0
887897 bge+ ht64_pte_insert_ok /* Insertion successful */
@@ -898,7 +908,8 @@ _GLOBAL(ht64_call_hpte_insert2)
8989082: and r0,r5,r27
899909 rldicr r3,r0,3 ,63 -3 /* r0 = (hash & mask) << 3 */
900910 /* Call ppc_md.hpte_remove */
901- _GLOBAL(ht64_call_hpte_remove)
911+ .globl ht64_call_hpte_remove
912+ ht64_call_hpte_remove:
902913 bl . /* patched by htab_finish_init() */
903914
904915 /* Try all again */
@@ -952,7 +963,8 @@ ht64_modify_pte:
952963 li r7,MMU_PAGE_64K /* actual page size */
953964 ld r8,STK_PARAM(R9)(r1) /* segment size */
954965 ld r9,STK_PARAM(R8)(r1) /* get "local" param */
955- _GLOBAL(ht64_call_hpte_updatepp)
966+ .globl ht64_call_hpte_updatepp
967+ ht64_call_hpte_updatepp:
956968 bl . /* patched by htab_finish_init() */
957969
958970 /* if we failed because typically the HPTE wasn't really here
0 commit comments