mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* pmdisk needs asmlinkage
@ 2004-04-05 21:06 Pavel Machek
  0 siblings, 0 replies; only message in thread
From: Pavel Machek @ 2004-04-05 21:06 UTC (permalink / raw)
  To: Rusty trivial patch monkey Russell, Andrew Morton, kernel list,
	Patrick Mochel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-04-05 21:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-05 21:06 pmdisk needs asmlinkage Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®