Make scheduler debug file operations const
authorArjan van de Ven <arjan@linux.intel.com>
Mon, 15 Oct 2007 15:00:19 +0000 (17:00 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 15 Oct 2007 15:00:19 +0000 (17:00 +0200)
commit0dbee3a6b006dbe814d002cb18e94bf24a216451
treee847b88145ccc2c643ef0fe2244bd1e778b51272
parent7a6c6bcee029a978f866511d6e41dbc7301fde4c
Make scheduler debug file operations const

In general, struct file_operations are const in the kernel, to not have
false cacheline sharing and to catch bugs at compiletime with accidental
writes to them. The new scheduler code introduces a new non-const one;
fix this up.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched_debug.c