sched: make scheduler sysfs attributes sysdev class devices
authorAndi Kleen <andi@firstfloor.org>
Wed, 30 Jul 2008 05:33:52 +0000 (22:33 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Jul 2008 16:41:47 +0000 (09:41 -0700)
commitf718cd4add5aea9d379faff92f162571e356cc5f
tree17ee7b9ed94c819985e4805436dc20b22e587f5f
parent5cdc98b8f51310f7cca05ad780f18f80dd9571de
sched: make scheduler sysfs attributes sysdev class devices

They are really class devices, but were incorrectly declared.  This
leads to crashes with the recent changes that makes non normal sysdevs
use a different prototype.

[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Pierre Ossman <drzeus-list@drzeus.cx>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/sched.c