summaryrefslogtreecommitdiff
path: root/arch/arm/lib
diff options
context:
space:
mode:
authorMyungJoo Ham <myungjoo.ham@gmail.com>2010-11-23 11:39:23 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-11-23 22:46:12 +0000
commit28c22d7dc99486ef4186dde41d5260e75b3076f7 (patch)
tree8e0af1ab29e966ee1080d80acb9f297e97cf7328 /arch/arm/lib
parent932c42b286e2c6479d1cbdee2927cb283b1c0c3b (diff)
downloadlinux-3.10-28c22d7dc99486ef4186dde41d5260e75b3076f7.tar.gz
linux-3.10-28c22d7dc99486ef4186dde41d5260e75b3076f7.tar.bz2
linux-3.10-28c22d7dc99486ef4186dde41d5260e75b3076f7.zip
ARM: 6490/1: MM: bugfix: initialize spinlock for init_mm.context
init_mm used at kernel/sched.c:idle_task_exit() has spin_lock (init_mm.context.id_lock) that is not initialized when spin_lock/unlock is called at an ARM machine. Note that mm_struct.context.id_lock is usually initialized except for the instance of init_mm at linux/arch/arm/mm/context.c Not initializing this spinlock incurs "BUG: pinlock bad magic" warning when spinlock debug is enabled. We have observed such instances when testing PM in S5PC210 machines. Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/lib')
0 files changed, 0 insertions, 0 deletions