Fix -O0 build; <machine/bwx.h> should be included after ".arch ev56" pseudo-op.
This commit is contained in:
parent
efebee5612
commit
36be1ec540
@ -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.
|
* Copyright (c) 2000 The NetBSD Foundation, Inc.
|
||||||
@ -38,7 +38,6 @@
|
|||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
|
|
||||||
#include <machine/alpha_cpu.h>
|
#include <machine/alpha_cpu.h>
|
||||||
#include <machine/bwx.h>
|
|
||||||
#include <machine/sysarch.h>
|
#include <machine/sysarch.h>
|
||||||
#include <machine/pio.h>
|
#include <machine/pio.h>
|
||||||
|
|
||||||
@ -228,6 +227,7 @@ alpha_pci_io_swiz_outl(bus_addr_t ioaddr, uint32_t val)
|
|||||||
* these instructions.
|
* these instructions.
|
||||||
*/
|
*/
|
||||||
__asm(".arch ev56");
|
__asm(".arch ev56");
|
||||||
|
#include <machine/bwx.h>
|
||||||
|
|
||||||
uint8_t
|
uint8_t
|
||||||
alpha_pci_io_bwx_inb(bus_addr_t ioaddr)
|
alpha_pci_io_bwx_inb(bus_addr_t ioaddr)
|
||||||
|
Loading…
Reference in New Issue
Block a user