[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH v2 4/7] Rename monitor_x86.c to monitor.c and monitor_arch.h to monitor.h
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 <czuzu@xxxxxxxxxxxxxxx> --- 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 <http://www.gnu.org/licenses/>. */ -#include <asm/monitor_arch.h> +#include <asm/monitor.h> 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 <xsm/xsm.h> #include <public/domctl.h> -#include <asm/monitor_arch.h> /* for monitor_arch_# */ +#include <asm/monitor.h> /* for monitor_arch_# */ #if CONFIG_X86 #include <public/vm_event.h> /* for VM_EVENT_X86_CR3 */ #include <asm/hvm/hvm.h> /* 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 <http://www.gnu.org/licenses/>. */ -#ifndef __ASM_ARM_MONITOR_ARCH_H__ -#define __ASM_ARM_MONITOR_ARCH_H__ +#ifndef __ASM_ARM_MONITOR_H__ +#define __ASM_ARM_MONITOR_H__ #include <xen/sched.h> #include <public/domctl.h> @@ -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 <http://www.gnu.org/licenses/>. */ -#ifndef __ASM_X86_MONITOR_ARCH_H__ -#define __ASM_X86_MONITOR_ARCH_H__ +#ifndef __ASM_X86_MONITOR_H__ +#define __ASM_X86_MONITOR_H__ #include <xen/sched.h> /* for struct domain, is_hvm_domain, ... */ #include <public/domctl.h> /* 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 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |