Skip to contentSkip to conversation

pmdisk needs asmlinkage

PATCH Pavel Machek 1 participant 1 message Apr 5, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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?]