Messages in this thread Patch in this message | | | Date | Mon, 5 Apr 2004 23:06:33 +0200 | From | Pavel Machek <> | Subject | pmdisk needs asmlinkage |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |