summaryrefslogtreecommitdiffstats
path: root/arch/cris/include/asm/mmu_context.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2009-09-01 21:12:28 +0900
committerTejun Heo <tj@kernel.org>2009-09-01 21:23:18 +0900
commit04a13c7c632e1fe04a5f6e6c83565d2559e37598 (patch)
tree5f0d78abea4655a58c06c70f106d6265b97fae74 /arch/cris/include/asm/mmu_context.h
parent142d44b0dd6741a64a7bdbe029110e7c1dcf1d23 (diff)
downloadkernel-crypto-04a13c7c632e1fe04a5f6e6c83565d2559e37598.tar.gz
kernel-crypto-04a13c7c632e1fe04a5f6e6c83565d2559e37598.tar.xz
kernel-crypto-04a13c7c632e1fe04a5f6e6c83565d2559e37598.zip
percpu: don't assume existence of cpu0
percpu incorrectly assumed that cpu0 was always there which led to the following warning and eventual oops on sparc machines w/o cpu0. WARNING: at mm/percpu.c:651 pcpu_map+0xdc/0x100() Modules linked in: Call Trace: [000000000045eb70] warn_slowpath_common+0x50/0xa0 [000000000045ebdc] warn_slowpath_null+0x1c/0x40 [00000000004d493c] pcpu_map+0xdc/0x100 [00000000004d59a4] pcpu_alloc+0x3e4/0x4e0 [00000000004d5af8] __alloc_percpu+0x18/0x40 [00000000005b112c] __percpu_counter_init+0x4c/0xc0 ... Unable to handle kernel NULL pointer dereference ... I7: <sysfs_new_dirent+0x30/0x120> Disabling lock debugging due to kernel taint Caller[000000000053c1b0]: sysfs_new_dirent+0x30/0x120 Caller[000000000053c7a4]: create_dir+0x24/0xc0 Caller[000000000053c870]: sysfs_create_dir+0x30/0x80 Caller[00000000005990e8]: kobject_add_internal+0xc8/0x200 ... Kernel panic - not syncing: Attempted to kill the idle task! This patch fixes the problem by backporting parts from devel branch to make percpu core not depend on the existence of cpu0. Signed-off-by: Tejun Heo <tj@kernel.org> Reported-by: Meelis Roos <mroos@linux.ee> Cc: David Miller <davem@davemloft.net>
Diffstat (limited to 'arch/cris/include/asm/mmu_context.h')
0 files changed, 0 insertions, 0 deletions