From: Peter Zijlstra Date: Fri, 7 Jan 2011 12:41:40 +0000 (+0100) Subject: sched: Constify function scope static struct sched_param usage X-Git-Tag: v2.6.38-rc1~457^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9b5f501ef1580faa30c40c644b7691870462201;p=pandora-kernel.git 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 Signed-off-by: Peter Zijlstra LKML-Reference: Message-ID: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed