• Stephen Rothwell's avatar
    ftrace: fix build failure · 2d7da80f
    Stephen Rothwell authored
    After disabling FTRACE_MCOUNT_RECORD via a patch, a dormant build
    failure surfaced:
    
     kernel/trace/ftrace.c: In function 'ftrace_record_ip':
     kernel/trace/ftrace.c:416: error: incompatible type for argument 1 of '_spin_lock_irqsave'
     kernel/trace/ftrace.c:433: error: incompatible type for argument 1 of '_spin_lock_irqsave'
    
    Introduced by commit 6dad8e07f4c10b17b038e84d29f3ca41c2e55cd0 ("ftrace:
    add necessary locking for ftrace records").
    Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    2d7da80f
ftrace.c 38.8 KB