Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9fb4aa87 authored by James Hogan's avatar James Hogan
Browse files

metag: move traps.c exports out of metag_ksyms.c



It's less error prone to have function symbols exported immediately
after the function rather than in metag_ksyms.c. Move each EXPORT_SYMBOL
in metag_ksyms.c for symbols defined in traps.c into traps.c

Signed-off-by: default avatarJames Hogan <james.hogan@imgtec.com>
parent fa771d02
Loading
Loading
Loading
Loading
+0 −5
Original line number Original line Diff line number Diff line
@@ -31,11 +31,6 @@ EXPORT_SYMBOL(pTBI_get);
EXPORT_SYMBOL(meta_memoffset);
EXPORT_SYMBOL(meta_memoffset);
EXPORT_SYMBOL(kick_register_func);
EXPORT_SYMBOL(kick_register_func);
EXPORT_SYMBOL(kick_unregister_func);
EXPORT_SYMBOL(kick_unregister_func);
#ifdef CONFIG_SMP
EXPORT_SYMBOL(get_trigger_mask);
#else
EXPORT_SYMBOL(global_trigger_mask);
#endif


EXPORT_SYMBOL(clear_page);
EXPORT_SYMBOL(clear_page);
EXPORT_SYMBOL(copy_page);
EXPORT_SYMBOL(copy_page);
+3 −0
Original line number Original line Diff line number Diff line
@@ -8,6 +8,7 @@
 * for more details.
 * for more details.
 */
 */


#include <linux/export.h>
#include <linux/sched.h>
#include <linux/sched.h>
#include <linux/signal.h>
#include <linux/signal.h>
#include <linux/kernel.h>
#include <linux/kernel.h>
@@ -59,6 +60,7 @@ DECLARE_PER_CPU(PTBI, pTBI);
static DEFINE_PER_CPU(unsigned int, trigger_mask);
static DEFINE_PER_CPU(unsigned int, trigger_mask);
#else
#else
unsigned int global_trigger_mask;
unsigned int global_trigger_mask;
EXPORT_SYMBOL(global_trigger_mask);
#endif
#endif


unsigned long per_cpu__stack_save[NR_CPUS];
unsigned long per_cpu__stack_save[NR_CPUS];
@@ -787,6 +789,7 @@ unsigned int get_trigger_mask(void)
{
{
	return _get_trigger_mask();
	return _get_trigger_mask();
}
}
EXPORT_SYMBOL(get_trigger_mask);


static void set_trigger_mask(unsigned int mask)
static void set_trigger_mask(unsigned int mask)
{
{