Module Name: src
Committed By: rin
Date: Mon Feb 20 15:23:43 UTC 2017
Modified Files:
src/lib/libarch/alpha: alpha_pci_io.c
Log Message:
Fix -O0 build; <machine/bwx.h> should be included after ".arch ev56" pseudo-op.
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/lib/libarch/alpha/alpha_pci_io.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libarch/alpha/alpha_pci_io.c
diff -u src/lib/libarch/alpha/alpha_pci_io.c:1.7 src/lib/libarch/alpha/alpha_pci_io.c:1.8
--- src/lib/libarch/alpha/alpha_pci_io.c:1.7 Wed Jan 9 08:49:44 2013
+++ src/lib/libarch/alpha/alpha_pci_io.c Mon Feb 20 15:23:43 2017
@@ -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 @@ alpha_pci_io_swiz_outl(bus_addr_t ioaddr
* these instructions.
*/
__asm(".arch ev56");
+#include <machine/bwx.h>
uint8_t
alpha_pci_io_bwx_inb(bus_addr_t ioaddr)