]> git.karo-electronics.de Git - mv-sheeva.git/commit
perf events: Remove arg from perf sched hooks
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Sun, 27 Dec 2009 10:51:52 +0000 (11:51 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 28 Dec 2009 08:21:33 +0000 (09:21 +0100)
commit49f474331e563a6ecf3b1e87ec27ec5482b3e4f1
treee3e4b5c718fd3d35ce01d4fe015886d9f3336760
parent4cf40131a5cf4918e83b3756e58a1fc9e984f8ef
perf events: Remove arg from perf sched hooks

Since we only ever schedule the local cpu, there is no need to pass the
cpu number to the perf sched hooks.

This micro-optimizes things a bit.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/perf_event.h
kernel/perf_event.c
kernel/sched.c