]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
kvm: Clean up kvm/interrupt.h a bit
authorPekka Enberg <penberg@cs.helsinki.fi>
Sun, 28 Mar 2010 16:34:30 +0000 (19:34 +0300)
committerPekka Enberg <penberg@cs.helsinki.fi>
Sun, 28 Mar 2010 16:34:30 +0000 (19:34 +0300)
Add include guards to the header file and remove unnecessary #includes.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
tools/kvm/include/kvm/interrupt.h

index b895449a3c6f0ebdd35020f8a3a53e04599dac7d..95d294fb0681671c0fcb5e210a9f7e105d19d36a 100644 (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 */