Skip to content
  • Jan Beulich's avatar
    x86-64: __copy_from_user_inatomic() adjustments · 14722485
    Jan Beulich authored
    This v2.6.26 commit:
    
        ad2fc2cd: x86: fix copy_user on x86
    
    rendered __copy_from_user_inatomic() identical to
    copy_user_generic(), yet didn't make the former just call the
    latter from an inline function.
    
    Furthermore, this v2.6.19 commit:
    
        b885808e
    
    : [PATCH] Add proper sparse __user casts to __copy_to_user_inatomic
    
    converted the return type of __copy_to_user_inatomic() from
    unsigned long to int, but didn't do the same to
    __copy_from_user_inatomic().
    
    Signed-off-by: default avatarJan Beulich <jbeulich@novell.com>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Cc: Alexander Viro <viro@zeniv.linux.org.uk>
    Cc: Arjan van de Ven <arjan@infradead.org>
    Cc: Andi Kleen <andi@firstfloor.org>
    Cc: <v.mayatskih@gmail.com>
    LKML-Reference: <4AFD5778020000780001F8F4@vpn.id2.novell.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    14722485