Re: [PATCH] Make pmdisk suspend more reliable
From: Sam Ravnborg
Date: Sun Oct 12 2003 - 13:07:47 EST
On Sun, Oct 12, 2003 at 09:18:28AM -0700, Tony Lindgren wrote:
> --- linux-2.6.0-test7/kernel/power/pmdisk.c-orig 2003-10-12 18:35:58.000000000 +0300
> +++ linux-2.6.0-test7/kernel/power/pmdisk.c 2003-10-12 19:00:32.000000000 +0300
> @@ -35,6 +35,7 @@
>
>
> extern int pmdisk_arch_suspend(int resume);
> +extern int wakeup_bdflush(long nr_pages);
Prototypes in .c files is never a good idea.
wakeup_bdflush is prototyped in include/linux/writeback.h
pmdisk_arch_suspend is expected to be implemented in assembler, which
explain why it is prototypes locally.
Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/