Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/aarch64/aarch64 Use correct MID_ value



details:   https://anonhg.NetBSD.org/src/rev/00af5249d0cd
branches:  trunk
changeset: 830069:00af5249d0cd
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Feb 25 08:23:09 2018 +0000

description:
Use correct MID_ value

diffstat:

 sys/arch/aarch64/aarch64/core_machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 08efe6e53c15 -r 00af5249d0cd sys/arch/aarch64/aarch64/core_machdep.c
--- a/sys/arch/aarch64/aarch64/core_machdep.c   Sun Feb 25 08:22:53 2018 +0000
+++ b/sys/arch/aarch64/aarch64/core_machdep.c   Sun Feb 25 08:23:09 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: core_machdep.c,v 1.1 2014/08/10 05:47:37 matt Exp $ */
+/* $NetBSD: core_machdep.c,v 1.2 2018/02/25 08:23:09 skrll Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(1, "$NetBSD: core_machdep.c,v 1.1 2014/08/10 05:47:37 matt Exp $");
+__KERNEL_RCSID(1, "$NetBSD: core_machdep.c,v 1.2 2018/02/25 08:23:09 skrll Exp $");
 
 #include <sys/types.h>
 #include <sys/cpu.h>
@@ -56,7 +56,7 @@
        int error;
 
        if (iocookie == NULL) {
-               CORE_SETMAGIC(*chdr, COREMAGIC, MID_POWERPC, 0);
+               CORE_SETMAGIC(*chdr, COREMAGIC, MID_MACHINE, 0);
                chdr->c_hdrsize = ALIGN(sizeof *chdr);
                chdr->c_seghdrsize = ALIGN(sizeof cseg);
                chdr->c_cpusize = sizeof md_core;



Home | Main Index | Thread Index | Old Index