when will we ever learn...

David S. Miller (davem@dm.cobaltmicro.com)
Wed, 26 Aug 1998 03:46:58 -0700


That one cannot perform bitops on a char...

--- mm/swapfile.c.~3~ Wed Aug 26 00:05:02 1998
+++ mm/swapfile.c Wed Aug 26 02:42:19 1998
@@ -489,7 +489,7 @@
int swap_header_version;
int lock_map_size = PAGE_SIZE;
int nr_good_pages = 0;
- char tmp_lock_map = 0;
+ unsigned long tmp_lock_map = 0;

lock_kernel();
if (!capable(CAP_SYS_ADMIN))

-
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