From 00056fe276bf967a1c056591ee1b956f5a349269 Mon Sep 17 00:00:00 2001 From: Pekka Enberg Date: Sun, 28 Mar 2010 19:33:16 +0300 Subject: [PATCH] kvm: Rename interrupt emulation source files Signed-off-by: Pekka Enberg --- tools/kvm/Makefile | 2 +- tools/kvm/{ivt.h => include/kvm/interrupt.h} | 0 tools/kvm/{ivt.c => interrupt.c} | 3 ++- tools/kvm/kvm.c | 3 ++- 4 files changed, 5 insertions(+), 3 deletions(-) rename tools/kvm/{ivt.h => include/kvm/interrupt.h} (100%) rename tools/kvm/{ivt.c => interrupt.c} (96%) diff --git a/tools/kvm/Makefile b/tools/kvm/Makefile index 7776a8961f0c..4e6b73258ccd 100644 --- a/tools/kvm/Makefile +++ b/tools/kvm/Makefile @@ -1,10 +1,10 @@ PROGRAM = kvm OBJS += cpu.o +OBJS += interrupt.o OBJS += kvm.o OBJS += main.o OBJS += util.o -OBJS += ivt.o CFLAGS += $(CPPFLAGS) -Iinclude diff --git a/tools/kvm/ivt.h b/tools/kvm/include/kvm/interrupt.h similarity index 100% rename from tools/kvm/ivt.h rename to tools/kvm/include/kvm/interrupt.h diff --git a/tools/kvm/ivt.c b/tools/kvm/interrupt.c similarity index 96% rename from tools/kvm/ivt.c rename to tools/kvm/interrupt.c index 36ffb01f97aa..f831e49b6a12 100644 --- a/tools/kvm/ivt.c +++ b/tools/kvm/interrupt.c @@ -1,3 +1,5 @@ +#include "kvm/interrupt.h" + #include #include #include @@ -7,7 +9,6 @@ #include #include "util.h" -#include "ivt.h" static struct ivt_entry ivt_table[IVT_VECTORS]; diff --git a/tools/kvm/kvm.c b/tools/kvm/kvm.c index 01d85a62c93e..a6d5f4ed44d1 100644 --- a/tools/kvm/kvm.c +++ b/tools/kvm/kvm.c @@ -1,5 +1,7 @@ #include "kvm/kvm.h" +#include "kvm/interrupt.h" + #include #include @@ -16,7 +18,6 @@ #include #include -#include "ivt.h" #include "util.h" /* -- 2.39.5