kern
diff src/vm.c @ 41:928b0ebfff4d
merged the timer/rtc/etc from the misc branch
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Tue, 14 Jun 2011 01:19:07 +0300 |
parents | 387078ef5c0d |
children | 5f6c5751ae05 |
line diff
1.1 --- a/src/vm.c Sat May 28 08:06:47 2011 +0300 1.2 +++ b/src/vm.c Tue Jun 14 01:19:07 2011 +0300 1.3 @@ -259,7 +259,7 @@ 1.4 1.5 void pgfree(int start, int num) 1.6 { 1.7 - int i, area, end, intr_state; 1.8 + int i, area, intr_state; 1.9 struct page_range *node, *new, *prev, *next; 1.10 1.11 intr_state = get_intr_state(); 1.12 @@ -276,7 +276,7 @@ 1.13 panic("pgfree: can't allocate new page_range node to add the freed pages\n"); 1.14 } 1.15 new->start = start; 1.16 - end = new->end = start + num; 1.17 + new->end = start + num; 1.18 1.19 area = PAGE_TO_ADDR(start) >= KMEM_START ? MEM_KERNEL : MEM_USER; 1.20