Skip to content

Commit f139a7a

Browse files
iii-iVasily Gorbik
authored andcommitted
s390: delete the unused store_prefix() function
Its last usage was deleted in commit 4df29d2 ("s390/smp: rework absolute lowcore access"). Reviewed-by: Alexander Gordeev <[email protected]> Signed-off-by: Ilya Leoshkevich <[email protected]> Signed-off-by: Heiko Carstens <[email protected]> Signed-off-by: Vasily Gorbik <[email protected]>
1 parent 84bb41d commit f139a7a

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

arch/s390/include/asm/lowcore.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -222,12 +222,4 @@ static inline void set_prefix(__u32 address)
222222
asm volatile("spx %0" : : "Q" (address) : "memory");
223223
}
224224

225-
static inline __u32 store_prefix(void)
226-
{
227-
__u32 address;
228-
229-
asm volatile("stpx %0" : "=Q" (address));
230-
return address;
231-
}
232-
233225
#endif /* _ASM_S390_LOWCORE_H */

0 commit comments

Comments
 (0)