mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-04 01:49:36 +00:00
powerpc/step: Mark __copy_mem_out() and __emulate_dcbz() __always_inline
objtool reports two folliwng warnings: arch/powerpc/lib/sstep.o: warning: objtool: copy_mem_out+0x3c (.text+0x30c): call to __copy_mem_out() with UACCESS enabled arch/powerpc/lib/sstep.o: warning: objtool: emulate_dcbz+0x70 (.text+0x4dc): call to __emulate_dcbz() with UACCESS enabled Mark __copy_mem_out() and __emulate_dcbz() __always_inline Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/f1d4a15da70190f8c2fcddb377bbc1e09827242c.1687343857.git.christophe.leroy@csgroup.eu
This commit is contained in:
parent
7768716d2f
commit
0d5769f950
1 changed files with 2 additions and 2 deletions
|
@ -485,7 +485,7 @@ write_mem_aligned(unsigned long val, unsigned long ea, int nb, struct pt_regs *r
|
|||
* Copy from a buffer to userspace, using the largest possible
|
||||
* aligned accesses, up to sizeof(long).
|
||||
*/
|
||||
static nokprobe_inline int __copy_mem_out(u8 *dest, unsigned long ea, int nb, struct pt_regs *regs)
|
||||
static __always_inline int __copy_mem_out(u8 *dest, unsigned long ea, int nb, struct pt_regs *regs)
|
||||
{
|
||||
int c;
|
||||
|
||||
|
@ -1043,7 +1043,7 @@ static nokprobe_inline int do_vsx_store(struct instruction_op *op,
|
|||
}
|
||||
#endif /* CONFIG_VSX */
|
||||
|
||||
static int __emulate_dcbz(unsigned long ea)
|
||||
static __always_inline int __emulate_dcbz(unsigned long ea)
|
||||
{
|
||||
unsigned long i;
|
||||
unsigned long size = l1_dcache_bytes();
|
||||
|
|
Loading…
Reference in a new issue