On Fri, Oct 18, 2024 at 11:51:06AM +0300, Kirill A . Shutemov wrote:
> On Thu, Oct 17, 2024 at 02:55:22PM -0700, Josh Poimboeuf wrote:
> > SYM_FUNC_START(__put_user_2)
> > check_range size=2
> > ASM_STAC
> > -3: movw %ax,(%_ASM_CX)
> > +2: movw %ax,(%_ASM_CX)
> > xor %ecx,%ecx
> >
On Thu, Oct 17, 2024 at 02:55:22PM -0700, Josh Poimboeuf wrote:
> SYM_FUNC_START(__put_user_2)
> check_range size=2
> ASM_STAC
> -3: movw %ax,(%_ASM_CX)
> +2: movw %ax,(%_ASM_CX)
> xor %ecx,%ecx
> ASM_CLAC
> RET
> SYM_FUNC_END(__put_user_2)
> EXPORT_SYMBOL(__put
Separate __put_user_*() from __put_user_nocheck_*() to make the layout
similar to getuser.S. This will also make it easier to do a subsequent
change. No functional changes.
Signed-off-by: Josh Poimboeuf
---
arch/x86/lib/putuser.S | 67 ++
1 file changed,