Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 38995 Details for
Bug 61598
I compiled 2.6.8-gentoo-r2 with vesa-tng (SMP, AMD 2400+ MPs) and kernel panic on boot
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
A possible fix for the SMP problem.
vesafb-tng-smp.patch (text/plain), 760 bytes, created by
Michal Januszewski (RETIRED)
on 2004-09-05 10:49:34 UTC
(
hide
)
Description:
A possible fix for the SMP problem.
Filename:
MIME Type:
Creator:
Michal Januszewski (RETIRED)
Created:
2004-09-05 10:49:34 UTC
Size:
760 bytes
patch
obsolete
>diff -Naur linux-2.6.8-gentoo-r3/drivers/video/vesafb-thread.c linux-2.6.8-gentoo-r3-smp/drivers/video/vesafb-thread.c >--- linux-2.6.8-gentoo-r3/drivers/video/vesafb-thread.c 2004-09-05 19:44:10.000000000 +0200 >+++ linux-2.6.8-gentoo-r3-smp/drivers/video/vesafb-thread.c 2004-09-05 19:30:30.000000000 +0200 >@@ -504,6 +504,7 @@ > { > struct vm_area_struct vma; > struct page *page; >+ cpumask_t cpu_tmp; > > int ret, err = 0; > void *mem; >@@ -523,8 +524,8 @@ > } > > #ifdef CONFIG_SMP >- cpus_clear(current->active_mm->cpu_vm_mask); >- cpu_set(smp_processor_id(), current->active_mm->cpu_vm_mask); >+ cpus_and(cpu_tmp, current->active_mm->cpu_vm_mask, cpu_online_map); >+ current->active_mm->cpu_vm_mask = cpu_tmp; > #endif > > vma.vm_mm = current->active_mm;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 61598
:
38144
|
38995
|
39354
|
47255
|
68630