James Bottomley deac93df26 lib: Correct printk %pF to work on all architectures
It was introduced by "vsprintf: add support for '%pS' and '%pF' pointer
formats" in commit 0fe1ef24f7bd0020f29ffe287dfdb9ead33ca0b2.  However,
the current way its coded doesn't work on parisc64.  For two reasons: 1)
parisc isn't in the #ifdef and 2) parisc has a different format for
function descriptors

Make dereference_function_descriptor() more accommodating by allowing
architecture overrides.  I put the three overrides (for parisc64, ppc64
and ia64) in arch/kernel/module.c because that's where the kernel
internal linker which knows how to deal with function descriptors sits.

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Tony Luck <tony.luck@intel.com>
Acked-by: Kyle McMartin <kyle@mcmartin.ca>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-09-09 11:51:15 -07:00
..
2008-01-30 13:34:07 +01:00
2005-04-16 15:20:36 -07:00
2008-02-07 08:42:32 -08:00
2005-09-07 16:57:21 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2008-07-26 12:00:06 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2008-02-03 16:32:51 +02:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-11-30 05:24:39 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-10-21 22:53:43 -04:00
2007-07-17 10:23:11 -07:00
2007-07-16 09:05:45 -07:00
2007-10-17 08:42:55 -07:00
2005-04-16 15:20:36 -07:00
2008-07-24 22:53:30 +02:00
2008-05-15 10:38:54 -04:00
2005-04-16 15:20:36 -07:00
2006-10-04 06:48:57 -06:00
2007-10-18 00:58:29 -07:00
2008-02-03 17:00:11 +02:00
2007-05-08 11:15:20 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2007-05-21 09:18:19 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2008-03-15 19:11:52 -07:00
2008-04-28 08:58:23 -07:00
2007-05-11 08:29:34 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-11-30 05:24:39 +01:00
2005-04-16 15:20:36 -07:00
2007-10-23 09:49:31 +02:00
2005-04-16 15:20:36 -07:00
2006-10-04 06:47:03 -06:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2008-07-24 10:47:27 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2008-05-15 10:38:54 -04:00
2008-05-15 10:38:54 -04:00
2005-04-16 15:20:36 -07:00
2008-02-05 09:44:18 -08:00
2007-10-19 11:53:34 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2008-03-15 19:11:54 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2008-02-03 15:59:02 +02:00
2005-04-16 15:20:36 -07:00