Source-Changes archive

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

CVS commit: src/sys/arch/alpha/include

Module Name:    src
Committed By:   dyoung
Date:           Sun Jul 17 01:08:12 UTC 2011

Modified Files:
        src/sys/arch/alpha/include: sysarch.h

Log Message:
Don't #include <machine/bus_defs.h> from this header unless _KERNEL
is #defined.  While this header is installed in the alpha userland,
however, <machine/bus_defs.h> is not.

Don't declare any of the alpha_bus_ or alpha_pci_ symbols unless _KERNEL
is #defined.  I cannot find anything but libarch in the base system
that uses the symbols.  Anything using alpha_pci_ symbols ought to use
pci(3), instead.  Up next: don't use those symbols in libarch.

To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/alpha/include/sysarch.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index