Commit fa736caa authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] pmdisk needs asmlinkage

From: Pavel Machek <pavel@ucw.cz>

This function will break with -mregparm, so mark it asmlinkage.
parent 4b99e75b
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment