• I
    tracing, x86: function return tracer, fix assembly constraints · 867f7fb3
    Ingo Molnar 提交于
    fix:
    
     arch/x86/kernel/ftrace.c: Assembler messages:
     arch/x86/kernel/ftrace.c:140: Error: missing ')'
     arch/x86/kernel/ftrace.c:140: Error: junk `(%ebp))' after expression
     arch/x86/kernel/ftrace.c:141: Error: missing ')'
     arch/x86/kernel/ftrace.c:141: Error: junk `(%ebp))' after expression
    
    the [parent_replaced] is used in an =rm fashion, so that constraint
    is correct in isolation - but [parent_old] aliases register %0 and uses
    it in an addressing mode that is only valid with registers - so change
    the constraint from =rm to =r.
    
    This fixes the build failure.
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    867f7fb3
ftrace.c 10.8 KB