kvm: Clean up kvm/interrupt.h a bit

Add include guards to the header file and remove unnecessary #includes.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
This commit is contained in:
Pekka Enberg
2015-06-01 16:39:38 +01:00
committed by Will Deacon
parent eda033194e
commit 68967fcf0d
+5 -1
View File
@@ -1,5 +1,7 @@
#ifndef KVM__INTERRUPT_H
#define KVM__INTERRUPT_H
#include <inttypes.h>
#include <stdbool.h>
#define IVT_BASE 0x0000
#define IVT_VECTORS 256
@@ -14,3 +16,5 @@ void ivt_copy_table(void *dst, unsigned int size);
struct ivt_entry * const ivt_get_entry(unsigned int n);
void ivt_set_entry(struct ivt_entry e, unsigned int n);
void ivt_set_all(struct ivt_entry e);
#endif /* KVM__INTERRUPT_H */