mirror of https://gitee.com/openkylin/linux.git
powerpc/vdso: Remove unused \tmp param in __get_datapage()
The \tmp param is not used anymore, remove it. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/4b13f897dcccce8ae03c031a4598cf26b32e2f1c.1601197618.git.christophe.leroy@csgroup.eu
This commit is contained in:
parent
591857b635
commit
550e6074c1
|
@ -22,7 +22,7 @@
|
||||||
#ifdef __powerpc64__
|
#ifdef __powerpc64__
|
||||||
PPC_STL r2, PPC_MIN_STKFRM + STK_GOT(r1)
|
PPC_STL r2, PPC_MIN_STKFRM + STK_GOT(r1)
|
||||||
#endif
|
#endif
|
||||||
get_datapage r5, r0
|
get_datapage r5
|
||||||
addi r5, r5, VDSO_DATA_OFFSET
|
addi r5, r5, VDSO_DATA_OFFSET
|
||||||
bl DOTSYM(\funct)
|
bl DOTSYM(\funct)
|
||||||
PPC_LL r0, PPC_MIN_STKFRM + PPC_LR_STKOFF(r1)
|
PPC_LL r0, PPC_MIN_STKFRM + PPC_LR_STKOFF(r1)
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
#ifdef __powerpc64__
|
#ifdef __powerpc64__
|
||||||
PPC_STL r2, PPC_MIN_STKFRM + STK_GOT(r1)
|
PPC_STL r2, PPC_MIN_STKFRM + STK_GOT(r1)
|
||||||
#endif
|
#endif
|
||||||
get_datapage r4, r0
|
get_datapage r4
|
||||||
addi r4, r4, VDSO_DATA_OFFSET
|
addi r4, r4, VDSO_DATA_OFFSET
|
||||||
bl DOTSYM(\funct)
|
bl DOTSYM(\funct)
|
||||||
PPC_LL r0, PPC_MIN_STKFRM + PPC_LR_STKOFF(r1)
|
PPC_LL r0, PPC_MIN_STKFRM + PPC_LR_STKOFF(r1)
|
||||||
|
|
|
@ -103,7 +103,7 @@ extern struct vdso_arch_data *vdso_data;
|
||||||
|
|
||||||
#else /* __ASSEMBLY__ */
|
#else /* __ASSEMBLY__ */
|
||||||
|
|
||||||
.macro get_datapage ptr, tmp
|
.macro get_datapage ptr
|
||||||
bcl 20, 31, .+4
|
bcl 20, 31, .+4
|
||||||
999:
|
999:
|
||||||
mflr \ptr
|
mflr \ptr
|
||||||
|
|
|
@ -27,7 +27,7 @@ V_FUNCTION_BEGIN(__kernel_sync_dicache)
|
||||||
#ifdef CONFIG_PPC64
|
#ifdef CONFIG_PPC64
|
||||||
mflr r12
|
mflr r12
|
||||||
.cfi_register lr,r12
|
.cfi_register lr,r12
|
||||||
get_datapage r10, r0
|
get_datapage r10
|
||||||
mtlr r12
|
mtlr r12
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ V_FUNCTION_BEGIN(__kernel_get_syscall_map)
|
||||||
mflr r12
|
mflr r12
|
||||||
.cfi_register lr,r12
|
.cfi_register lr,r12
|
||||||
mr. r4,r3
|
mr. r4,r3
|
||||||
get_datapage r3, r0
|
get_datapage r3
|
||||||
mtlr r12
|
mtlr r12
|
||||||
addi r3,r3,CFG_SYSCALL_MAP32
|
addi r3,r3,CFG_SYSCALL_MAP32
|
||||||
beqlr
|
beqlr
|
||||||
|
@ -51,7 +51,7 @@ V_FUNCTION_BEGIN(__kernel_get_tbfreq)
|
||||||
.cfi_startproc
|
.cfi_startproc
|
||||||
mflr r12
|
mflr r12
|
||||||
.cfi_register lr,r12
|
.cfi_register lr,r12
|
||||||
get_datapage r3, r0
|
get_datapage r3
|
||||||
lwz r4,(CFG_TB_TICKS_PER_SEC + 4)(r3)
|
lwz r4,(CFG_TB_TICKS_PER_SEC + 4)(r3)
|
||||||
lwz r3,CFG_TB_TICKS_PER_SEC(r3)
|
lwz r3,CFG_TB_TICKS_PER_SEC(r3)
|
||||||
mtlr r12
|
mtlr r12
|
||||||
|
|
|
@ -25,7 +25,7 @@ V_FUNCTION_BEGIN(__kernel_sync_dicache)
|
||||||
.cfi_startproc
|
.cfi_startproc
|
||||||
mflr r12
|
mflr r12
|
||||||
.cfi_register lr,r12
|
.cfi_register lr,r12
|
||||||
get_datapage r10, r0
|
get_datapage r10
|
||||||
mtlr r12
|
mtlr r12
|
||||||
|
|
||||||
lwz r7,CFG_DCACHE_BLOCKSZ(r10)
|
lwz r7,CFG_DCACHE_BLOCKSZ(r10)
|
||||||
|
|
|
@ -31,7 +31,7 @@ V_FUNCTION_BEGIN(__kernel_get_syscall_map)
|
||||||
mflr r12
|
mflr r12
|
||||||
.cfi_register lr,r12
|
.cfi_register lr,r12
|
||||||
mr r4,r3
|
mr r4,r3
|
||||||
get_datapage r3, r0
|
get_datapage r3
|
||||||
mtlr r12
|
mtlr r12
|
||||||
addi r3,r3,CFG_SYSCALL_MAP64
|
addi r3,r3,CFG_SYSCALL_MAP64
|
||||||
cmpldi cr0,r4,0
|
cmpldi cr0,r4,0
|
||||||
|
@ -53,7 +53,7 @@ V_FUNCTION_BEGIN(__kernel_get_tbfreq)
|
||||||
.cfi_startproc
|
.cfi_startproc
|
||||||
mflr r12
|
mflr r12
|
||||||
.cfi_register lr,r12
|
.cfi_register lr,r12
|
||||||
get_datapage r3, r0
|
get_datapage r3
|
||||||
ld r3,CFG_TB_TICKS_PER_SEC(r3)
|
ld r3,CFG_TB_TICKS_PER_SEC(r3)
|
||||||
mtlr r12
|
mtlr r12
|
||||||
crclr cr0*4+so
|
crclr cr0*4+so
|
||||||
|
|
Loading…
Reference in New Issue