freebsd-dev/sys/mips/nlm/dev/net
Ravi Pokala 144af011b4 Fix build for mips.XLP64 kernel, by re-ordering headers
The log for the failure contained errors like this:

| In file included from ${SRCTOP}/sys/mips/nlm/dev/net/xlpge.c:34:
| In file included from ${SRCTOP}/sys/sys/systm.h:44:
| In file included from ./machine/atomic.h:849:
| ${SRCTOP}/sys/sys/_atomic_subword.h:222:37: error: unknown type name 'u_long'; did you mean 'long'?
| atomic_testandset_acq_long(volatile u_long *p, u_int v)
|                                     ^~~~~~
|                                     long

And similar "unknown type name" errors for u_int, not recognizing bool as a type, etc.

This was caused by including <sys/param.h> too far down; move it up where it belongs.

While here, add a blank line after '__FBSDID()', in keeping with convention.

Reviewed by:	emaste
Sponsored by:	Panasas
Differential Revision:	https://reviews.freebsd.org/D24242
2020-03-31 20:09:20 +00:00
..
ucore Fix a write-only variable warning from external GCC. 2019-10-15 17:17:16 +00:00
mdio.c sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
nae.c sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
sgmii.c sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
xaui.c sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
xlpge.c Fix build for mips.XLP64 kernel, by re-ordering headers 2020-03-31 20:09:20 +00:00
xlpge.h sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00