Andi Kleen a2e7f0e3a4 x86, asmlinkage, paravirt: Make paravirt thunks global
The paravirt thunks use a hack of using a static reference to a static
function to reference that function from the top level statement.

This assumes that gcc always generates static function names in a specific
format, which is not necessarily true.

Simply make these functions global and asmlinkage or __visible. This way the
static __used variables are not needed and everything works.

Functions with arguments are __visible to keep the register calling
convention on 32bit.

Changed in paravirt and in all users (Xen and vsmp)

v2: Use __visible for functions with arguments

Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: Ido Yariv <ido@wizery.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Link: http://lkml.kernel.org/r/1382458079-24450-5-git-send-email-andi@firstfloor.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2014-01-29 22:17:17 -08:00
..
2013-11-11 19:53:42 +01:00
2012-03-28 18:11:12 +01:00
2012-03-28 18:11:12 +01:00
2013-04-25 10:39:04 +02:00
2011-05-02 17:24:48 +02:00
2012-03-28 18:11:12 +01:00
2010-02-16 21:22:26 -08:00
2013-05-31 13:08:18 +02:00
2012-11-29 13:23:02 -08:00
2011-04-18 09:26:48 -07:00
2012-03-20 21:48:30 +08:00
2013-08-05 06:35:33 -07:00
2013-02-03 18:16:27 -05:00
2010-10-26 16:52:08 -07:00
2012-06-25 13:48:30 +02:00
2011-07-22 14:39:50 +09:30
2013-04-22 15:45:03 +09:30
2010-06-09 11:12:36 +02:00
2011-03-15 15:34:15 -07:00
2013-10-09 20:04:08 -05:00
2012-02-20 12:52:05 -08:00
2013-02-03 18:16:27 -05:00
2013-09-09 12:05:37 -04:00
2013-11-06 20:00:05 +01:00
2012-03-28 18:11:12 +01:00
2013-08-07 15:57:42 +02:00
2012-09-21 17:18:44 -07:00