summaryrefslogtreecommitdiffstats
path: root/arch/x86/lib
diff options
context:
space:
mode:
authorAndi Kleen2013-08-21 22:07:42 +0200
committerIngo Molnar2013-08-22 09:17:19 +0200
commiteb86b5fd505cb97743d84226140cf247d91a2f03 (patch)
tree14765ad223149b66f9823bb81fc623e271d16018 /arch/x86/lib
parentx86, asmlinkage, vdso: Mark vdso variables __visible (diff)
downloadkernel-qcow2-linux-eb86b5fd505cb97743d84226140cf247d91a2f03.tar.gz
kernel-qcow2-linux-eb86b5fd505cb97743d84226140cf247d91a2f03.tar.xz
kernel-qcow2-linux-eb86b5fd505cb97743d84226140cf247d91a2f03.zip
x86/asmlinkage: Fix warning in xen asmlinkage change
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>
Diffstat (limited to 'arch/x86/lib')
0 files changed, 0 insertions, 0 deletions