]> git.karo-electronics.de Git - linux-beck.git/commit
perf_counter: Fix perf_counter_init_task() on !CONFIG_PERF_COUNTERS
authorIngo Molnar <mingo@elte.hu>
Thu, 28 May 2009 09:41:50 +0000 (11:41 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 28 May 2009 09:42:16 +0000 (11:42 +0200)
commitd3e78ee3d015dac1794433abb6403b6fc8e70e10
treef66279a9b3d16f2846bdb1b733afe26a8d80da4a
parent55717314c4e3a5180a54228a2f97e50f3496de4c
perf_counter: Fix perf_counter_init_task() on !CONFIG_PERF_COUNTERS

Pointed out by compiler warnings:

   tip/include/linux/perf_counter.h:644: warning: no return statement in function returning non-void

Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: John Kacur <jkacur@redhat.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/perf_counter.h