Add missing braces

Reviewed by:	swildner@dragonflybsd.org
Reviewed by:	delphij


git-svn-id: svn+ssh://svn.freebsd.org/base/head@250123 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Remove ancient compatibility cruft.

Reviewed by:	delphij


git-svn-id: svn+ssh://svn.freebsd.org/base/head@250124 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
There's no HAL_EEPROM in FreeBSD - use ar9300_eeprom_t instead.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@250129 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Disable TXCONT, it's not here in FreeBSD.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@250130 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Correct a few sizeof()s

Submitted by:	swildner@DragonFlyBSD.org
Reviewed by:	alfred


git-svn-id: svn+ssh://svn.freebsd.org/base/head@250131 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix incorrect sizeof() in bzero()

Submitted by:	swildner@DragonFlyBSD.org
Reviewed by:	alfred, jmallett


git-svn-id: svn+ssh://svn.freebsd.org/base/head@250132 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Make the internal assertion correct--only fail when '\0' is found in
places other than the end of the test section. Otherwise, with kernel
compiled with Clang which happens to be setting ELF section alignment
differently config(8) was throwing assert() failure unnecessarily

Reported by:	Kimmo Paasiala <kpaasial (at) gmail.com>
Tested by:	Kimmo Paasiala <kpaasial (at) gmail.com>
MFC after:	10 days


git-svn-id: svn+ssh://svn.freebsd.org/base/head@250133 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Import virgin regdef.h from 4.4 Lite 2's sys/pmax/include/regdef.h,
expand the %sccs.include.redist.c% directive with the standard
3-clause license, and add $FreeBSD$ to keep the commit script happy.

# This may break some mips stuff, which will be fixed in the next commit.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@250134 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add the standard #ifdef header protection.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@250135 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Import NetBSD's version, which is perfectly fine.

Submitted by:	jmallet@


git-svn-id: svn+ssh://svn.freebsd.org/base/head@250136 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Remove asm.h dependency in a hackish way.
Fixed comment.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@250137 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Don't include asm.h in non-asm files.
Remove #define to get kludges that asm.h used to define
Move clever macros to access assembler instructions to trap.c
Remove __ASSEMBLER__ ifdefs in regdef.h: they aren't needed anymore.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@250138 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add a historic footnote.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@250139 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Optimize SUBDIR_OVERRIDE such that SUBDIR isn't automatically defined if
SUBDIR_OVERRIDE is defined.

PR:		conf/174071
Submitted by:	Garrett Cooper <yaneurabeya@gmail.com>
Sponsored by:	EMC / Isilon Storage Division


git-svn-id: svn+ssh://svn.freebsd.org/base/head@250143 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Introduce a constant, ELF_NOTE_ROUNDSIZE, which evidently declare our
intention to use 4-byte padding for elf notes.

MFC after:	3 weeks


git-svn-id: svn+ssh://svn.freebsd.org/base/head@250145 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
KVM method support for procstat_getgroups, procstat_getumask,
procstat_getrlimit, and procstat_getosrel.

MFC after:	3 weeks


git-svn-id: svn+ssh://svn.freebsd.org/base/head@250146 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
procstat_getpathname: for kvm method, instead of returning the error
that the method is not supported, return an empty string.

This looks more handy for callers like procstat(1), which will not
abort after the failed call and still output some useful information.

MFC after:	3 weeks


git-svn-id: svn+ssh://svn.freebsd.org/base/head@250147 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add OpenBSD 5.3, released today, May 1 2013.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@250148 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
In case ZFS doesn't use UMA for buffers there's no need to waste memory
creating zones that will remain empty.

Reviewed by:	pjd


git-svn-id: svn+ssh://svn.freebsd.org/base/head@250149 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add DragonFly BSD 3.4.1, released April 29 2013.

Submitted by:	Nikolai Lifanov <lifanov@mail.lifanov.com>


git-svn-id: svn+ssh://svn.freebsd.org/base/head@250150 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f