[patch doh] Re: 2.1.110-pre3 fails mem.o

Benjamin C.R. LaHaise (blah@kvack.org)
Mon, 20 Jul 1998 23:11:16 -0400 =?ISO-8859-1?Q?(8UU=01?=)


Oooops -- sorry about the brain fart (honestly, mom, it looked
harmless! How was I 'sposed to know that cute fuzzy bees have mean
nasty stingers?). That's what I get for merging in 'trivial' bugfixes
that 'look right'. Mea culpa. This one (against 2.1.110pre3) I've
double checked, compiled and attempted a boot of, but it doesn't work due
to an Oops in init_IRQ_SMP. <pause> Okay, the resulting mem.c works
fine in 2.1.108.

-ben

--- linux/drivers/char/mem.c.old Mon Jul 20 22:26:05 1998
+++ linux/drivers/char/mem.c Mon Jul 20 22:26:12 1998
@@ -282,8 +282,8 @@
count = size;

flush_cache_range(current->mm, addr, addr + count);
- zap_page_range(vma, addr, count);
- zeromap_page_range(vma, addr, count, PAGE_COPY);
+ zap_page_range(current->mm, addr, count);
+ zeromap_page_range(addr, count, PAGE_COPY);
flush_tlb_range(current->mm, addr, addr + count);

size -= count;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html