Remove file that need not have been imported.
Flatten GNU libregex vendor area.
Import libregex from GNU libc 2.17.
Import couple of important bug fixes from the upstream.

http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commit;h=7e2f0d2
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commit;h=a445af0
Add GNU regex from glibc 2.17.
Fix build for FreeBSD.  We do not have alloca.h.
Connect libgnuregex 2.17 to the build.
Remove unneeded reference to link.h (sys/link_elf.h).

MFC after:	2 weeks
Use calloc().

MFC after:	2 weeks
As a temporary work-around (read: until there's a nice API for exposing
and controlling this form of antenna diversity) - print out the AR9285
antenna diversity configuration at attach time.

This will help track down and diagose if/when people have connectivity
issues on cards (eg if they connect a single antenna to LNA1, yet the
card has RX configured to only occur on LNA2.)

Tested:

* AR9285 w/ antenna diversity enabled in EEPROM;
* AR9285 w/ antenna diversity disabled in EEPROM; mapping only to a
  single antenna (LNA1.)
Enable slow diversity combining for the AR9285.

Now that I understand what's going on - and the RX antenna array maps
to what the receive LNA configuration actually is - I feel comfortable
in enabling this.

If people do have issues with this, there's enough debugging now available
that we have a chance to diagnose it without writing it up as 'weird
crap.'

Tested:

* AR9285 STA w/ diversity combining enabled in EEPROM

TODO:

* (More) testing in hostap mode
release: Allow empty extra distributions.

For example, WITHOUT_SHAREDOCS= in src.conf creates an empty doc
distribution.

Submitted by:	Kurt Lidl
Tested by:	Kurt Lidl
Discussed with:	gjb
MFC after:	1 week
Add a "-v" (verbose) option to the gssd daemon, to help
with diagnosis of kerberized NFS mount problems. When set,
messages are sent to syslog() (or fprintf(stderr,...) if
"-d" is also specified) to indicate activity/results of
kgssapi upcalls.

Reviewed by:	jhb
MFC after:	2 weeks
Document the new "-v" option for the gssd daemon.
This is a content change.

MFC after:	2 weeks
 - Consolidate duplicate code into support functions.
 - Split the bqlock into bqclean and bqdirty locks.
 - Only acquire the wakeup synchronization locks when we cross a
   threshold requiring them.
 - Restructure the way flushbufqueues() targets work so they are more
   smp friendly and sane.

Reviewed by:	kib
Discussed with:	mckusick, attilio
Sponsored by:	EMC / Isilon Storage Division

M    vfs_bio.c
Don't busy the page unless we are likely to release the object lock.

Reviewed by:	kib
Sponsored by:	EMC / Isilon Storage Division
Adjust CFLAGS to pick up correct regex.h and posix/regex.h.  Note this
actually reverts r250860 and r250861.

Reported by:	gjb, tinderbox
Do not compare the existing mask of a cpuset with a new mask when changing
the mask of a cpuset.  Also, change the cpuset's mask before updating the
masks of all children.  Previously changing a cpuset's mask first required
setting the mask to a super-set of both the old and new masks and then
changing it a second time to the new mask.
Complete r251452:
Avoid to busy/unbusy a page in cases where there is no need to drop the
vm_obj lock, more nominally when the page is full valid after
vm_page_grab().

Sponsored by:	EMC / Isilon storage division
Reviewed by:	alc
Switch to 2-clause license and standard text

Approved by:	bms@