Source-Changes-HG archive

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

[src/trunk]: src/lib/libarch/alpha Fix -O0 build; <machine/bwx.h> should be i...



details:   https://anonhg.NetBSD.org/src/rev/ff4ee35c27f5
branches:  trunk
changeset: 821884:ff4ee35c27f5
user:      rin <rin%NetBSD.org@localhost>
date:      Mon Feb 20 15:23:43 2017 +0000

description:
Fix -O0 build; <machine/bwx.h> should be included after ".arch ev56" pseudo-op.

diffstat:

 lib/libarch/alpha/alpha_pci_io.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r a8bdfaeb2651 -r ff4ee35c27f5 lib/libarch/alpha/alpha_pci_io.c
--- a/lib/libarch/alpha/alpha_pci_io.c  Mon Feb 20 13:45:43 2017 +0000
+++ b/lib/libarch/alpha/alpha_pci_io.c  Mon Feb 20 15:23:43 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: alpha_pci_io.c,v 1.7 2013/01/09 08:49:44 he Exp $      */
+/*     $NetBSD: alpha_pci_io.c,v 1.8 2017/02/20 15:23:43 rin Exp $     */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -38,7 +38,6 @@
 #include <sys/param.h>
 
 #include <machine/alpha_cpu.h>
-#include <machine/bwx.h>
 #include <machine/sysarch.h>
 #include <machine/pio.h>
 
@@ -228,6 +227,7 @@
  * these instructions.
  */
 __asm(".arch ev56");
+#include <machine/bwx.h>
 
 uint8_t
 alpha_pci_io_bwx_inb(bus_addr_t ioaddr)



Home | Main Index | Thread Index | Old Index