--- linux-2.5.28-rmap-slablru/kernel/suspend.c~ Wed Jul 24 20:56:59 2002
+++ linux-2.5.28-rmap-slablru/kernel/suspend.c Wed Jul 24 21:05:21 2002
@@ -66,6 +66,7 @@
#include <linux/swapops.h>
extern void signal_wake_up(struct task_struct *t);
+asmlinkage void sys_sync(void); /* it's really int */
unsigned char software_suspend_enabled = 0;
@@ -1004,8 +1005,9 @@
static int bdev_write_page(struct block_device *bdev, long pos, void *buf)
{
- struct buffer_head *bh;
#if 0
+ struct buffer_head *bh;
+
BUG_ON (pos%PAGE_SIZE);
bh = __bread(bdev, pos/PAGE_SIZE, PAGE_SIZE);
if (!bh || (!bh->b_data)) {
Craig Kulesa
Steward Obs.
Univ. of Arizona
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/