ftrace: fix build failure
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 25 Aug 2008 03:08:44 +0000 (13:08 +1000)
committerIngo Molnar <mingo@elte.hu>
Tue, 14 Oct 2008 08:36:06 +0000 (10:36 +0200)
commit2d7da80f7138c4276ef4fa0334be400b805d0fbf
tree2c2c21758498c989cf22414bf66bff1093edd263
parent6f93fc076a464bfe24e8d4c5fea3f6ca5bdb264d
ftrace: fix build failure

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: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/ftrace.c