diff --git a/arch/metag/kernel/kick.c b/arch/metag/kernel/kick.c index c3090962c45be1193765ba9afd7c2c1b16131698..50fcbec98cd288d85611a57808676bfa071fb5f1 100644 --- a/arch/metag/kernel/kick.c +++ b/arch/metag/kernel/kick.c @@ -25,6 +25,7 @@ * the KICK handlers require access to a CPU's pTBI structure. So we * pass it as an argument. */ +#include #include #include #include @@ -48,6 +49,7 @@ void kick_register_func(struct kick_irq_handler *kh) spin_unlock_irqrestore(&kick_handlers_lock, flags); } +EXPORT_SYMBOL(kick_register_func); void kick_unregister_func(struct kick_irq_handler *kh) { @@ -59,6 +61,7 @@ void kick_unregister_func(struct kick_irq_handler *kh) spin_unlock_irqrestore(&kick_handlers_lock, flags); } +EXPORT_SYMBOL(kick_unregister_func); TBIRES kick_handler(TBIRES State, int SigNum, int Triggers, int Inst, PTBI pTBI) diff --git a/arch/metag/kernel/metag_ksyms.c b/arch/metag/kernel/metag_ksyms.c index 138317cfb518c4038df519eb6f70e62dfd698db2..eef6576ab4e2b3f49ba77d1d382db78c28ec405d 100644 --- a/arch/metag/kernel/metag_ksyms.c +++ b/arch/metag/kernel/metag_ksyms.c @@ -29,8 +29,6 @@ EXPORT_SYMBOL(__do_clear_user); EXPORT_SYMBOL(pTBI_get); EXPORT_SYMBOL(meta_memoffset); -EXPORT_SYMBOL(kick_register_func); -EXPORT_SYMBOL(kick_unregister_func); EXPORT_SYMBOL(clear_page); EXPORT_SYMBOL(copy_page);