From: Corneliu ZUZU Subject: [PATCH v2 4/7] Rename monitor_x86.c to monitor.c and monitor_arch.h to monitor.h Date: Wed, 10 Feb 2016 17:54:17 +0200 Message-ID: <1455119657-2494-1-git-send-email-czuzu@bitdefender.com> References: <1455119259-2161-1-git-send-email-czuzu@bitdefender.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1455119259-2161-1-git-send-email-czuzu@bitdefender.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: Tamas K Lengyel , Keir Fraser , Ian Campbell , Razvan Cojocaru , Andrew Cooper , Stefano Stabellini , Jan Beulich List-Id: xen-devel@lists.xenproject.org Rename: - arch/x86/monitor_x86.c -> arch/x86/monitor.c - asm-{x86,arm}/monitor_arch.h -> asm-{x86,arm}/monitor.h (previous commit explains why these renames were necessary) Signed-off-by: Corneliu ZUZU --- xen/arch/x86/Makefile | 2 +- xen/arch/x86/{monitor_x86.c => monitor.c} | 4 ++-- xen/common/monitor.c | 2 +- xen/include/asm-arm/{monitor_arch.h => monitor.h} | 8 ++++---- xen/include/asm-x86/{monitor_arch.h => monitor.h} | 8 ++++---- 5 files changed, 12 insertions(+), 12 deletions(-) rename xen/arch/x86/{monitor_x86.c => monitor.c} (97%) rename xen/include/asm-arm/{monitor_arch.h => monitor.h} (90%) rename xen/include/asm-x86/{monitor_arch.h => monitor.h} (94%) diff --git a/xen/arch/x86/Makefile b/xen/arch/x86/Makefile index 6e80cf0..8e6e901 100644 --- a/xen/arch/x86/Makefile +++ b/xen/arch/x86/Makefile @@ -36,7 +36,7 @@ obj-y += microcode_intel.o # This must come after the vendor specific files. obj-y += microcode.o obj-y += mm.o x86_64/mm.o -obj-y += monitor_x86.o +obj-y += monitor.o obj-y += mpparse.o obj-y += nmi.o obj-y += numa.o diff --git a/xen/arch/x86/monitor_x86.c b/xen/arch/x86/monitor.c similarity index 97% rename from xen/arch/x86/monitor_x86.c rename to xen/arch/x86/monitor.c index d19fd15..568def2 100644 --- a/xen/arch/x86/monitor_x86.c +++ b/xen/arch/x86/monitor.c @@ -1,5 +1,5 @@ /* - * arch/x86/monitor_x86.c + * arch/x86/monitor.c * * Arch-specific monitor_op domctl handler. * @@ -19,7 +19,7 @@ * License along with this program; If not, see . */ -#include +#include bool_t arch_monitor_domctl_event(struct domain *d, struct xen_domctl_monitor_op *mop, diff --git a/xen/common/monitor.c b/xen/common/monitor.c index a4899c3..03063bb 100644 --- a/xen/common/monitor.c +++ b/xen/common/monitor.c @@ -25,7 +25,7 @@ #include #include -#include /* for monitor_arch_# */ +#include /* for monitor_arch_# */ #if CONFIG_X86 #include /* for VM_EVENT_X86_CR3 */ #include /* for hvm_update_guest_cr, ... */ diff --git a/xen/include/asm-arm/monitor_arch.h b/xen/include/asm-arm/monitor.h similarity index 90% rename from xen/include/asm-arm/monitor_arch.h rename to xen/include/asm-arm/monitor.h index d0df66c..eb770da 100644 --- a/xen/include/asm-arm/monitor_arch.h +++ b/xen/include/asm-arm/monitor.h @@ -1,5 +1,5 @@ /* - * include/asm-arm/monitor_arch.h + * include/asm-arm/monitor.h * * Arch-specific monitor_op domctl handler. * @@ -19,8 +19,8 @@ * License along with this program; If not, see . */ -#ifndef __ASM_ARM_MONITOR_ARCH_H__ -#define __ASM_ARM_MONITOR_ARCH_H__ +#ifndef __ASM_ARM_MONITOR_H__ +#define __ASM_ARM_MONITOR_H__ #include #include @@ -50,4 +50,4 @@ bool_t arch_monitor_domctl_event(struct domain *d, return 0; } -#endif /* __ASM_ARM_MONITOR_ARCH_H__ */ +#endif /* __ASM_ARM_MONITOR_H__ */ diff --git a/xen/include/asm-x86/monitor_arch.h b/xen/include/asm-x86/monitor.h similarity index 94% rename from xen/include/asm-x86/monitor_arch.h rename to xen/include/asm-x86/monitor.h index d9daf65..b12823c 100644 --- a/xen/include/asm-x86/monitor_arch.h +++ b/xen/include/asm-x86/monitor.h @@ -1,5 +1,5 @@ /* - * include/asm-x86/monitor_arch.h + * include/asm-x86/monitor.h * * Arch-specific monitor_op domctl handler. * @@ -19,8 +19,8 @@ * License along with this program; If not, see . */ -#ifndef __ASM_X86_MONITOR_ARCH_H__ -#define __ASM_X86_MONITOR_ARCH_H__ +#ifndef __ASM_X86_MONITOR_H__ +#define __ASM_X86_MONITOR_H__ #include /* for struct domain, is_hvm_domain, ... */ #include /* for XEN_DOMCTL_MONITOR_#, ... */ @@ -71,4 +71,4 @@ bool_t arch_monitor_domctl_event(struct domain *d, struct xen_domctl_monitor_op *mop, int *rc); -#endif /* __ASM_X86_MONITOR_ARCH_H__ */ +#endif /* __ASM_X86_MONITOR_H__ */ -- 2.5.0