Z_ISR_DECLARE: ensure proper alignment on 64-bit targets
Prevent spurious unexpected alignment on 64-bit targets. Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
This commit is contained in:
parent
6b90a02bb4
commit
11d4f01870
1 changed files with 2 additions and 2 deletions
|
@ -65,8 +65,8 @@ struct _isr_list {
|
|||
* and/or SW ISR tables.
|
||||
*/
|
||||
#define Z_ISR_DECLARE(irq, flags, func, param) \
|
||||
static struct _isr_list Z_GENERIC_SECTION(.intList) __used \
|
||||
_MK_ISR_NAME(func, __COUNTER__) = \
|
||||
static Z_DECL_ALIGN(struct _isr_list) Z_GENERIC_SECTION(.intList) \
|
||||
__used _MK_ISR_NAME(func, __COUNTER__) = \
|
||||
{irq, flags, &func, (void *)param}
|
||||
|
||||
#define IRQ_TABLE_SIZE (CONFIG_NUM_IRQS - CONFIG_GEN_IRQ_START_VECTOR)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue