Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 61598 | Differences between
and this patch

Collapse All | Expand All

(-)linux-2.6.8-gentoo-r3/drivers/video/vesafb-thread.c (-2 / +3 lines)
Lines 504-509 Link Here
504
{
504
{
505
	struct vm_area_struct vma;
505
	struct vm_area_struct vma;
506
	struct page *page;
506
	struct page *page;
507
	cpumask_t cpu_tmp;
507
	
508
	
508
	int ret, err = 0;
509
	int ret, err = 0;
509
	void *mem;	
510
	void *mem;	
Lines 523-530 Link Here
523
        }
524
        }
524
525
525
#ifdef CONFIG_SMP
526
#ifdef CONFIG_SMP
526
	cpus_clear(current->active_mm->cpu_vm_mask);
527
	cpus_and(cpu_tmp, current->active_mm->cpu_vm_mask, cpu_online_map);
527
	cpu_set(smp_processor_id(), current->active_mm->cpu_vm_mask);
528
	current->active_mm->cpu_vm_mask = cpu_tmp;
528
#endif
529
#endif
529
530
530
	vma.vm_mm = current->active_mm;
531
	vma.vm_mm = current->active_mm;

Return to bug 61598