Skip to contentSkip to conversation

2.6.10-rc1-mm3: modprobe oopses [x86]

DISCUSSION Andi Kleen 1 participant 1 message Nov 6, 2004 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Andi Kleen

author
#1 lore raw
Quoted 1 line · Bernhard Rosenkraenzer

modprobe ohci1394 leads to:

Apply this patch.

-Andi

mm/vmalloc.c renamed from mm/vmalloc.c-o +1 -1
diff -up linux-2.6.10rc1-mm3/mm/vmalloc.c-o linux-2.6.10rc1-mm3/mm/vmalloc.c
@@ -213,7 +213,7 @@ int map_vm_area(struct vm_struct *area, 
 			err = -ENOMEM;
 			break;
 		}
-		next = (address + PGDIR_SIZE) & PGDIR_MASK;
+		next = (address + PML4_SIZE) & PML4_MASK;
 		if (next < address || next > end)
 			next = end;
 		if (map_area_pgd(pgd, address, next, prot, pages)) {