• K
    ARM: 6164/1: Add kto and kfrom to input operands list. · 9a40ac86
    Khem Raj 提交于
    When functions incoming parameters are not in input operands list gcc
    4.5 does not load the parameters into registers before calling this
    function but the inline assembly assumes valid addresses inside this
    function. This breaks the code because r0 and r1 are invalid when
    execution enters v4wb_copy_user_page ()
    
    Also the constant needs to be used as third input operand so account
    for that as well.
    
    Tested on qemu arm.
    
    CC: <stable@kernel.org>
    Signed-off-by: NKhem Raj <raj.khem@gmail.com>
    Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
    9a40ac86
copypage-v4wt.c 2.4 KB