mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-30 15:06:57 +08:00
or1k/generic_or1k/irq/irq.c: Include <rtems/inttypes.h> and fix printf() format warning
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
|
||||
#include <bsp/irq.h>
|
||||
#include <bsp/irq-generic.h>
|
||||
#include <rtems/inttypes.h>
|
||||
|
||||
/* Almost all of the jobs that the following functions should
|
||||
* do are implemented in cpukit
|
||||
@@ -23,7 +24,7 @@
|
||||
|
||||
void bsp_interrupt_handler_default(rtems_vector_number vector)
|
||||
{
|
||||
printk("spurious interrupt: %u\n", vector);
|
||||
printk("spurious interrupt: %" PRIdrtems_vector_number "\n", vector);
|
||||
}
|
||||
|
||||
rtems_status_code bsp_interrupt_facility_initialize()
|
||||
|
||||
Reference in New Issue
Block a user