[PATCH] profile.c: `schedule' parsing fix
authorWilliam Lee Irwin III <wli@holomorphy.com>
Tue, 17 May 2005 04:53:58 +0000 (21:53 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 17 May 2005 14:59:21 +0000 (07:59 -0700)
commitdfaa9c94b13071c9b5f8578d0ae99acc76c60139
treed0ed2827e9c75b9ccb90b5fcc1b854bae51fc44c
parent5418b6925c353c8286651b67fdb8559dd9e54e46
[PATCH] profile.c: `schedule' parsing fix

profile=schedule parsing is not quite what it should be.  First, str[7] is
'e', not ',', but then even if it did fall through, prof_on =
SCHED_PROFILING would be clobbered inside if (get_option(...)) So a small
amount of rearrangement is done in this patch to correct it.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/profile.c