From: Andi Kleen Date: Wed, 21 Aug 2013 20:07:42 +0000 (-0700) Subject: x86/asmlinkage: Fix warning in xen asmlinkage change X-Git-Tag: v3.12-rc1~163^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb86b5fd505cb97743d84226140cf247d91a2f03;p=pandora-kernel.git 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 Link: http://lkml.kernel.org/r/1377115662-4865-1-git-send-email-andi@firstfloor.org Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed