loapic: expose _loapic_isr_vector_get() in header

Other internal functions are shown in this header, no reason to
keep this a secret.

Change-Id: Icb7d36206148c281f1960d1ac10368d9bb3033f1
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
Andrew Boie 2015-12-04 11:21:33 -08:00 committed by Anas Nashif
commit 902eb1d5f1
2 changed files with 3 additions and 2 deletions

View file

@ -22,6 +22,8 @@
#ifndef __KERNEL_EVENT_LOGGER_ARCH_H__
#define __KERNEL_EVENT_LOGGER_ARCH_H__
#include <drivers/loapic.h>
/**
* @brief Get the identification of the current interrupt.
*
@ -32,8 +34,6 @@
*/
int _sys_current_irq_key_get(void)
{
extern int _loapic_isr_vector_get(void);
return _loapic_isr_vector_get();
}

View file

@ -79,6 +79,7 @@ extern void _loapic_irq_enable(unsigned int irq);
extern void _loapic_irq_disable(unsigned int irq);
extern void _loapic_enable(void);
extern void _loapic_disable(void);
extern int _loapic_isr_vector_get(void);
/**
*