Commit fa816346 authored by Avi Kivity's avatar Avi Kivity
Browse files

Fix volatile qualifer on function pointer



It's a volatile pointer to a function returning void, not
a pointer to a function returning volatile void.
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent 28fb1a86
......@@ -6,8 +6,10 @@
#define IPI_VECTOR 0x20
typedef void (*ipi_function_type)(void *data);
static struct spinlock ipi_lock;
static volatile void (*ipi_function)(void *data);
static volatile ipi_function_type ipi_function;
static volatile void *ipi_data;
static volatile int ipi_done;
static volatile bool ipi_wait;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment