mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 01:21:26 +08:00
arm/rtl8720c: Remove up_getsp which is already implemented in arch/arm/arch.h
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Petro Karashchenko
parent
b3d47e246f
commit
a94b7b9cca
@@ -82,21 +82,6 @@ static int (* __vectors[NR_IRQS - NVIC_IRQ_FIRST])(void);
|
|||||||
* Private Functions
|
* Private Functions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
* Name: up_getsp
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
static inline uint32_t up_getsp(void)
|
|
||||||
{
|
|
||||||
uint32_t sp;
|
|
||||||
__asm__
|
|
||||||
(
|
|
||||||
"\tmov %0, sp\n\t"
|
|
||||||
: "=r"(sp)
|
|
||||||
);
|
|
||||||
return sp;
|
|
||||||
}
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Name: nvic_irqinfo
|
* Name: nvic_irqinfo
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user