[patch] last lockmap removal

Andrea Arcangeli (andrea@suse.de)
Mon, 9 Aug 1999 02:32:59 +0200 (CEST)


This variable is not needed anymore, patch against 2.3.13-pre8:

--- 2.3.13-pre8-tmp/mm/swapfile.c.~1~ Thu Jul 22 01:07:28 1999
+++ 2.3.13-pre8-tmp/mm/swapfile.c Mon Aug 9 02:31:44 1999
@@ -495,7 +495,6 @@
static int least_priority = 0;
union swap_header *swap_header = 0;
int swap_header_version;
- int lock_map_size = PAGE_SIZE;
int nr_good_pages = 0;
unsigned long maxpages;
int swapfilesize;
@@ -664,7 +663,6 @@
nr_good_pages = swap_header->info.last_page -
swap_header->info.nr_badpages -
1 /* header page */;
- lock_map_size = (p->max + 7) / 8;
if (error)
goto bad_swap;
}

Andrea

-
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.tux.org/lkml/