x86/asmlinkage: Fix warning in xen asmlinkage change
authorAndi Kleen <ak@linux.intel.com>
Wed, 21 Aug 2013 20:07:42 +0000 (13:07 -0700)
committerIngo Molnar <mingo@kernel.org>
Thu, 22 Aug 2013 07:17:19 +0000 (09:17 +0200)
Current code uses asmlinkage for functions without arguments.
This adds an implicit regparm(0) which creates a warning
when assigning the function to pointers.

Use __visible for the functions without arguments.
This avoids having to add regparm(0) to function pointers.
Since they have no arguments it does not make any difference.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Link: http://lkml.kernel.org/r/1377115662-4865-1-git-send-email-andi@firstfloor.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>

No differences found