linux-hardened/kernel/irq
Peter Zijlstra c9b5f501ef sched: Constify function scope static struct sched_param usage
Function-scope statics are discouraged because they are
easily overlooked and can cause subtle bugs/races due to
their global (non-SMP safe) nature.

Linus noticed that we did this for sched_param - at minimum
make the const.

Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: Message-ID: <AANLkTinotRxScOHEb0HgFgSpGPkq_6jKTv5CfvnQM=ee@mail.gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2011-01-07 15:55:45 +01:00
..
autoprobe.c genirq: Provide compat handling for chip->set_type() 2010-10-04 12:43:47 +02:00
chip.c genirq: Sanitize dynamic irq handling 2010-10-12 16:53:44 +02:00
devres.c devres/irq: Fix devm_irq_match comment 2010-02-11 16:01:02 +01:00
dummychip.c genirq: Fix CONFIG_GENIRQ_NO_DEPRECATED=y build 2010-10-12 21:59:55 +02:00
handle.c genirq: Distangle kernel/irq/handle.c 2010-10-12 16:39:05 +02:00
internals.h genirq: Remove the now unused sparse irq leftovers 2010-10-12 16:53:44 +02:00
irqdesc.c /proc/stat: fix scalability of irq sum of all cpu 2010-10-27 18:03:13 -07:00
Kconfig genirq: Remove the now unused sparse irq leftovers 2010-10-12 16:53:44 +02:00
Makefile genirq: Remove the now unused sparse irq leftovers 2010-10-12 16:53:44 +02:00
manage.c sched: Constify function scope static struct sched_param usage 2011-01-07 15:55:45 +01:00
migration.c genirq: Provide compat handling for chip->set_affinity() 2010-10-04 12:43:46 +02:00
pm.c genirq: Convert irq_desc.lock to raw_spinlock 2009-12-14 23:55:33 +01:00
proc.c genirq: Fix incorrect proc spurious output 2010-12-01 08:44:26 +01:00
resend.c genirq: Provide compat handling for chip->retrigger() 2010-10-04 12:43:50 +02:00
spurious.c genirq: Provide config option to disable deprecated code 2010-10-04 13:40:24 +02:00