blob: 202963ee013a81c76b62dcbd6bc59c0c8cbc9844 [file] [log] [blame]
Anton Blanchard5144b6b2014-08-20 08:00:05 +10001#include <linux/ftrace.h>
2#include <linux/mm.h>
Paul Mackerras20c8c212005-09-28 20:28:14 +10003
Paul Mackerras20c8c212005-09-28 20:28:14 +10004#include <asm/processor.h>
David Howellsae3a1972012-03-28 18:30:02 +01005#include <asm/switch_to.h>
Anton Blanchard5144b6b2014-08-20 08:00:05 +10006#include <asm/cacheflush.h>
Scott Wood8043e492012-08-10 12:21:21 +00007#include <asm/epapr_hcalls.h>
Paul Mackerras20c8c212005-09-28 20:28:14 +10008
Anton Blanchard5144b6b2014-08-20 08:00:05 +10009EXPORT_SYMBOL(flush_dcache_range);
10EXPORT_SYMBOL(flush_icache_range);
11
12EXPORT_SYMBOL(empty_zero_page);
13
14long long __bswapdi2(long long);
15EXPORT_SYMBOL(__bswapdi2);
Paul Mackerras20c8c212005-09-28 20:28:14 +100016
Steven Rostedt606576c2008-10-06 19:06:12 -040017#ifdef CONFIG_FUNCTION_TRACER
Steven Rostedtccbfac22008-05-22 14:31:07 -040018EXPORT_SYMBOL(_mcount);
19#endif
20
Kevin Hao5f20be442013-07-14 17:02:06 +080021#ifdef CONFIG_PPC_FPU
Paul Mackerras20c8c212005-09-28 20:28:14 +100022EXPORT_SYMBOL(giveup_fpu);
Paul Mackerras18461962013-09-10 20:21:10 +100023EXPORT_SYMBOL(load_fp_state);
24EXPORT_SYMBOL(store_fp_state);
Kevin Hao5f20be442013-07-14 17:02:06 +080025#endif
Anton Blanchard5144b6b2014-08-20 08:00:05 +100026
Paul Mackerras20c8c212005-09-28 20:28:14 +100027#ifdef CONFIG_ALTIVEC
Paul Mackerras20c8c212005-09-28 20:28:14 +100028EXPORT_SYMBOL(giveup_altivec);
Paul Mackerras18461962013-09-10 20:21:10 +100029EXPORT_SYMBOL(load_vr_state);
30EXPORT_SYMBOL(store_vr_state);
Anton Blanchard5144b6b2014-08-20 08:00:05 +100031#endif
32
Michael Neulingce48b212008-06-25 14:07:18 +100033#ifdef CONFIG_VSX
Alexander Graffbad5f12010-01-15 14:49:09 +010034EXPORT_SYMBOL_GPL(__giveup_vsx);
Anton Blanchard5144b6b2014-08-20 08:00:05 +100035#endif
36
Paul Mackerras20c8c212005-09-28 20:28:14 +100037#ifdef CONFIG_SPE
Paul Mackerras20c8c212005-09-28 20:28:14 +100038EXPORT_SYMBOL(giveup_spe);
Paul Mackerras40ef8cb2005-10-10 22:50:37 +100039#endif
Anton Blanchard64ff3122010-08-12 16:28:09 +000040
Scott Wood8043e492012-08-10 12:21:21 +000041#ifdef CONFIG_EPAPR_PARAVIRT
42EXPORT_SYMBOL(epapr_hypercall_start);
43#endif
Anton Blanchardbfe9a2c2014-10-13 19:41:38 +110044
Anton Blanchardacf620e2014-10-13 19:41:39 +110045EXPORT_SYMBOL(current_stack_pointer);