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 Sprinkle __unused



details:   https://anonhg.NetBSD.org/src/rev/4efda4a7b718
branches:  trunk
changeset: 992308:4efda4a7b718
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Fri Aug 24 01:59:40 2018 +0000

description:
Sprinkle __unused

diffstat:

 sys/arch/aarch64/aarch64/aarch64_machdep.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (38 lines):

diff -r 7f4e15747ab3 -r 4efda4a7b718 sys/arch/aarch64/aarch64/aarch64_machdep.c
--- a/sys/arch/aarch64/aarch64/aarch64_machdep.c        Thu Aug 23 22:34:03 2018 +0000
+++ b/sys/arch/aarch64/aarch64/aarch64_machdep.c        Fri Aug 24 01:59:40 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: aarch64_machdep.c,v 1.9 2018/08/15 11:10:45 ryo Exp $ */
+/* $NetBSD: aarch64_machdep.c,v 1.10 2018/08/24 01:59:40 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: aarch64_machdep.c,v 1.9 2018/08/15 11:10:45 ryo Exp $");
+__KERNEL_RCSID(1, "$NetBSD: aarch64_machdep.c,v 1.10 2018/08/24 01:59:40 jmcneill Exp $");
 
 #include "opt_arm_debug.h"
 #include "opt_ddb.h"
@@ -164,7 +164,7 @@
        struct trapframe *tf;
        psize_t memsize_total;
        vaddr_t kernstart, kernend;
-       vaddr_t kernstart_l2, kernend_l2;       /* L2 table 2MB aligned */
+       vaddr_t kernstart_l2 __unused, kernend_l2;      /* L2 table 2MB aligned */
        vaddr_t kernelvmstart;
        int i;
 
@@ -196,8 +196,8 @@
        kernelvmstart = module_end;
 #endif /* MODULAR */
 
-       paddr_t kernstart_phys = KERN_VTOPHYS(kernstart);
-       paddr_t kernend_phys = KERN_VTOPHYS(kernend);
+       paddr_t kernstart_phys __unused = KERN_VTOPHYS(kernstart);
+       paddr_t kernend_phys __unused = KERN_VTOPHYS(kernend);
 
        /* XXX */
        physical_start = bootconfig.dram[0].address;



Home | Main Index | Thread Index | Old Index