pmdisk needs asmlinkage

From: Pavel Machek
Date: Mon Apr 05 2004 - 18:01:31 EST


Hi!

Well, pmdisk neemore stuff, but asmlinkage is pretty clear; otherwise
it breaks with regparm. Please apply,
Pavel

--- tmp/linux/kernel/power/pmdisk.c 2004-03-11 18:11:26.000000000 +0100
+++ linux/kernel/power/pmdisk.c 2004-03-11 18:18:32.000000000 +0100
@@ -35,7 +35,7 @@
#include "power.h"


-extern int pmdisk_arch_suspend(int resume);
+extern asmlinkage int pmdisk_arch_suspend(int resume);

#define __ADDRESS(x) ((unsigned long) phys_to_virt(x))
#define ADDRESS(x) __ADDRESS((x) << PAGE_SHIFT)

--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
-
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/