From: Pekka Enberg Date: Sun, 28 Mar 2010 16:34:30 +0000 (+0300) Subject: kvm: Clean up kvm/interrupt.h a bit X-Git-Tag: next-20110824~3^2~528^2~212 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=07b0c99136cbf3fdbead90a09763a39473a4c6c2;p=karo-tx-linux.git kvm: Clean up kvm/interrupt.h a bit Add include guards to the header file and remove unnecessary #includes. Signed-off-by: Pekka Enberg --- diff --git a/tools/kvm/include/kvm/interrupt.h b/tools/kvm/include/kvm/interrupt.h index b895449a3c6f..95d294fb0681 100644 --- a/tools/kvm/include/kvm/interrupt.h +++ b/tools/kvm/include/kvm/interrupt.h @@ -1,5 +1,7 @@ +#ifndef KVM__INTERRUPT_H +#define KVM__INTERRUPT_H + #include -#include #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 */