group_addrenv: Fix call to group_addrenv for targets that don't need it

This commit is contained in:
Ville Juven
2023-01-27 12:13:26 +02:00
committed by Xiang Xiao
parent 375cb09ff0
commit 9ac3e841da
31 changed files with 64 additions and 54 deletions
+2 -2
View File
@@ -27,13 +27,13 @@
#include <stdint.h>
#include <assert.h>
#include <nuttx/addrenv.h>
#include <nuttx/irq.h>
#include <nuttx/arch.h>
#include <nuttx/board.h>
#include <arch/board/board.h>
#include "sparc_internal.h"
#include "group/group.h"
/****************************************************************************
* Pre-processor Definitions
@@ -98,7 +98,7 @@ uint32_t *sparc_doirq(int irq, uint32_t *regs)
* thread at the head of the ready-to-run list.
*/
group_addrenv(NULL);
addrenv_switch(NULL);
#endif
}
#endif