pmdisk needs asmlinkage
Subsystems (2)
Hi!
Well, pmdisk neemore stuff, but asmlinkage is pretty clear; otherwise it breaks with regparm. Please apply,
Pavel
kernel/power/pmdisk.c renamed from linux/kernel/power/pmdisk.c +1 -1
@@ -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)
Signature · 2 lines
When do you have a heart between your knees? [Johanka's followup: and *two* hearts?]