]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
11 years agoFix playback for Focusrite Scarlett 2i2 USB recording interface.
hselasky [Wed, 24 Apr 2013 06:05:33 +0000 (06:05 +0000)]
Fix playback for Focusrite Scarlett 2i2 USB recording interface.

Submitted by: Ed Maste, emaste @

11 years agoFix copy/paste error.
dteske [Wed, 24 Apr 2013 03:15:55 +0000 (03:15 +0000)]
Fix copy/paste error.

11 years agoHandle the IRQ for the reset button.
rpaulo [Wed, 24 Apr 2013 01:36:35 +0000 (01:36 +0000)]
Handle the IRQ for the reset button.

11 years agowiigpio depends on options WII.
rpaulo [Wed, 24 Apr 2013 01:20:10 +0000 (01:20 +0000)]
wiigpio depends on options WII.

11 years agoiso639: Add Standard Moroccan Tamazight.
eadler [Wed, 24 Apr 2013 00:41:36 +0000 (00:41 +0000)]
iso639: Add Standard Moroccan Tamazight.

See http://www.loc.gov/standards/iso639-2/php/code_changes.php

Obtained from: DragonflyBSD (commit 2d64ea1d0ec1beacc8f4e22353b7eb84c6f2b3f0)

11 years agoAdd missing include.
dteske [Tue, 23 Apr 2013 22:55:59 +0000 (22:55 +0000)]
Add missing include.

11 years agoFix declarations to slightly increase WARNS level.
jkim [Tue, 23 Apr 2013 19:42:45 +0000 (19:42 +0000)]
Fix declarations to slightly increase WARNS level.

11 years agoClean up generated files added in r233250.
jkim [Tue, 23 Apr 2013 19:29:49 +0000 (19:29 +0000)]
Clean up generated files added in r233250.

11 years agoPull in r180121 from upstream llvm trunk:
dim [Tue, 23 Apr 2013 18:58:39 +0000 (18:58 +0000)]
Pull in r180121 from upstream llvm trunk:

  LoopVectorizer: Fix 15830. When scalarizing and unrolling stores make
  sure that the order in which the elements are scalarized is the same
  as the original order.
  This fixes a miscompilation in FreeBSD's regex library.

This should fix lib/libc/regex/regcomp.c at -O3 with clang 3.3 r178860
on CPUs with SSE.  Before this change, the vectorizer could incorrectly
rearrange the second loop in computejumps(), leading to possibly invalid
entries in the re_gets::charjump table.

The net result was that for example "sed s/@CC@/foo/" failed to work
correctly, leading to trouble with many configure scripts.

11 years agoFix white spaces.
jkim [Tue, 23 Apr 2013 18:30:33 +0000 (18:30 +0000)]
Fix white spaces.

11 years agoReturn a lun count of 1 and a lun id of 0 when CAM attempts a REPORT_LUNS
sbruno [Tue, 23 Apr 2013 18:29:51 +0000 (18:29 +0000)]
Return a lun count of 1 and a lun id of 0 when CAM attempts a REPORT_LUNS
command on a disk device.  This quieseces some noise on the console that
recently appeared.

Obtained from: Yahoo! Inc.
MFC after: 2 weeks

11 years agoTeach the virtio block device to deal with direct as well as indirect
neel [Tue, 23 Apr 2013 16:40:39 +0000 (16:40 +0000)]
Teach the virtio block device to deal with direct as well as indirect
descriptors. Prior to this change the device would only work with guests
that chose to use indirect descriptors.

Modify the device reset callback to actually reset the device state.

Submitted by: Tycho Nightingale (tycho.nightingale@pluribusnetworks.com)

11 years agoRevert r249800 as
eadler [Tue, 23 Apr 2013 16:33:25 +0000 (16:33 +0000)]
Revert r249800 as
 - it is incorrect:  In the 'back' case you want to reuse the previous
 mbuf.
- it was not reviewed by wireless@

Requested by: jhb, adrian

11 years agoLiterally follow POSIX:
kib [Tue, 23 Apr 2013 16:08:24 +0000 (16:08 +0000)]
Literally follow POSIX:
If the bs= expr operand is specified and no conversions other than sync,
noerror, or notrunc are requested, the data returned from each input
block shall be written as a separate output block.

In particular, when both bs=size and conv=sparce were specified, the
resulted file was fully filled, instead of sparce.

PR: standards/177742
Submitted by: Matthew Rezny <mrezny@hexaneinc.com>
MFC after: 2 weeks

11 years agoConvert libc/stdio from K&R to ANSI C
emaste [Tue, 23 Apr 2013 14:36:44 +0000 (14:36 +0000)]
Convert libc/stdio from K&R to ANSI C

And add '__restrict' where it appeared in the header prototypes

11 years agoWhen doing RFC3042 limited transmit on the first on second
andre [Tue, 23 Apr 2013 14:06:32 +0000 (14:06 +0000)]
When doing RFC3042 limited transmit on the first on second
duplicate ACK make sure we actually have new data to send.
This prevents us from sending unneccessary pure ACKs.

Reported by: Matt Miller <matt@matthewjmiller.net>
Tested by: Matt Miller <matt@matthewjmiller.net>
MFC after: 2 weeks

11 years agoRenumber clauses to reduce diffs to other versions
emaste [Tue, 23 Apr 2013 13:33:13 +0000 (13:33 +0000)]
Renumber clauses to reduce diffs to other versions

NetBSD, OpenBSD, and Android's Bionic all number the clauses 1 through 3,
so follow suit to make comparison easier.

Acked-by: imp@
11 years agoFix installkernel requiring users/groups defined in CHECK_UIDS
bdrewery [Tue, 23 Apr 2013 13:07:58 +0000 (13:07 +0000)]
Fix installkernel requiring users/groups defined in CHECK_UIDS
and CHECK_GIDS to exist since r152680. This is only needed for
installworld. The documented procedure of running mergemaster -p
to check for missing users is only needed for installworld, not
for installkernel. This fixes auditdistd incorrectly being
required for installkernel.

PR: misc/174405
Approved by: bapt

11 years agoConstify where appropriate.
eadler [Tue, 23 Apr 2013 13:03:17 +0000 (13:03 +0000)]
Constify where appropriate.

Reported by: emaste
Approved by: cperciva (mentor)
MFC After: 3 days

11 years agoCleanups to touch.c
eadler [Tue, 23 Apr 2013 13:03:14 +0000 (13:03 +0000)]
Cleanups to touch.c
- use const where appropriate
- use static where appropriate
- use explicit checks checks for error conditions

Reviewed by: sbruno
Approved by: cperciva (mentor)
Obtained by: DragonFlyBSD

11 years ago- Add the __dead2 attribute since it is a function that never returns
eadler [Tue, 23 Apr 2013 13:03:11 +0000 (13:03 +0000)]
- Add the __dead2 attribute since it is a function that never returns
- Add an empty line in usage() according to style(9)

PR: bin/177076
Submitted by: Fernando <fernando.apesteguia@gmail.com>
Approved by: cperciva (mentor)

11 years agoAdd support for Intel C600/X79 Series Chipset KT Controller.
eadler [Tue, 23 Apr 2013 13:03:08 +0000 (13:03 +0000)]
Add support for Intel C600/X79 Series Chipset KT Controller.

PR: kern/177072
Submitted by: Kurt Lidl <lidl@pix.net>

11 years ago- sl_find does not modify 'name'
eadler [Tue, 23 Apr 2013 13:03:03 +0000 (13:03 +0000)]
- sl_find does not modify 'name'
- make the prototype of sl_find match NetBSD

Reviewed by: jilles
Approved by: cperciva (mentor)
MFC After: 3 days

11 years agoSwitch from K&R prototypes to modern C
eadler [Tue, 23 Apr 2013 13:03:01 +0000 (13:03 +0000)]
Switch from K&R prototypes to modern C

Reviewed by: jilles
Approved by: cperciva (mentor)
MFC After: 3 days

11 years agoAvoid warning about uninitalized variable
eadler [Tue, 23 Apr 2013 13:02:57 +0000 (13:02 +0000)]
Avoid warning about uninitalized variable

PR: kern/176712
Submitted by: Hiren Panchasara <hiren.panchasara@gmail.com> (earlier vesion)
Approved by: cperciva (mentor)

11 years agoRemove always-true conditions from if statement.
eadler [Tue, 23 Apr 2013 13:02:55 +0000 (13:02 +0000)]
Remove always-true conditions from if statement.

PR: kern/176712
Submitted by: Hiren Panchasara <hiren.panchasara@gmail.com>
Approved by: cperciva (mentor)

11 years agoMake temp, temp1 the same type that they will later be used for.
eadler [Tue, 23 Apr 2013 13:02:51 +0000 (13:02 +0000)]
Make temp, temp1 the same type that they will later be used for.

PR: kern/176712
Submitted by: Hiren Panchasara <hiren.panchasara@gmail.com>
Reviewed by: jmg (earlier version)
Approved by: cperciva (mentor)

11 years agoRemove tautological compare.
eadler [Tue, 23 Apr 2013 13:02:48 +0000 (13:02 +0000)]
Remove tautological compare.

PR: kern/176712
Submitted by: Hiren Panchasara <hiren.panchasara@gmail.com>
Approved by: cperciva (mentor)

11 years agoAdd support for runtime switching of sample rate for
hselasky [Tue, 23 Apr 2013 10:48:14 +0000 (10:48 +0000)]
Add support for runtime switching of sample rate for
USB audio devices. Previously the highest sample
rate was unconditionally selected.

Requested by: Craig Leres <leres@ee.lbl.gov>

11 years agoAdd convenience wrapper functions to run callbacks in the context of the
hselasky [Tue, 23 Apr 2013 10:42:15 +0000 (10:42 +0000)]
Add convenience wrapper functions to run callbacks in the context of the
USB explore thread.

11 years agoAdd an option for the GE FES based packet engines. Its board IDs
imp [Tue, 23 Apr 2013 09:40:42 +0000 (09:40 +0000)]
Add an option for the GE FES based packet engines. Its board IDs
overlap with the standard ones, so kernels for this family of boards
need the option OCTEON_VENDOR_GEFES.

11 years agoUpdate trapframe to be consistent with the changes made to regnum.h. This
imp [Tue, 23 Apr 2013 09:38:18 +0000 (09:38 +0000)]
Update trapframe to be consistent with the changes made to regnum.h. This
should fix the booting problems people have been seeing.

11 years agoFix error check.
mckusick [Tue, 23 Apr 2013 06:37:50 +0000 (06:37 +0000)]
Fix error check.

Submitted by: Andrey Chernov (ache@)
MFC after: 3 days

11 years agoThe zfs synctask code restructuring introduced a new bug that makes it
mm [Tue, 23 Apr 2013 06:28:35 +0000 (06:28 +0000)]
The zfs synctask code restructuring introduced a new bug that makes it
impossible to set quota and reservation on pools lower than version 22.
Problem has been reported and a solution discussed with vendor.

Illumos ZFS issues:
  3739 cannot set zfs quota or reservation on pool version < 22

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reported by: Steve Wills <swills@FreeBSD.org>
MFC after: 3 days

11 years agoAdd descriptive comment.
hselasky [Tue, 23 Apr 2013 06:26:54 +0000 (06:26 +0000)]
Add descriptive comment.

11 years agoPrevent device.subr from auto-loading in the nameservers module.
dteske [Tue, 23 Apr 2013 00:10:33 +0000 (00:10 +0000)]
Prevent device.subr from auto-loading in the nameservers module.
This module doesn't need device support (but device.subr is loaded
indirectly through media/tcpip.subr which contains resolv stuff).

11 years agoPreserve debugFile preference across the exec boundary.
dteske [Mon, 22 Apr 2013 21:19:44 +0000 (21:19 +0000)]
Preserve debugFile preference across the exec boundary.

11 years agoPartially uncommit r249779. The changes to share/common.subr were good
dteske [Mon, 22 Apr 2013 21:11:27 +0000 (21:11 +0000)]
Partially uncommit r249779. The changes to share/common.subr were good
while the remaining changes were part of a much larger ``secret sauce''
involved in an up-coming commit that I'm still laboring on.

11 years agoFix "-D file" to automagically enable debugging if not explicitly disabled.
dteske [Mon, 22 Apr 2013 21:03:44 +0000 (21:03 +0000)]
Fix "-D file" to automagically enable debugging if not explicitly disabled.

11 years agoUpdate description of process status output.
joel [Mon, 22 Apr 2013 20:14:57 +0000 (20:14 +0000)]
Update description of process status output.

PR: 143850
Submitted by: Slaven Rezic <slaven@rezic.de>

11 years agoMFP4 223084, 227821:
brooks [Mon, 22 Apr 2013 19:02:37 +0000 (19:02 +0000)]
MFP4 223084, 227821:

Partially implement generic_bs_*_8() for MIPS platforms.

This is known to work with TARGET_ARCH=mips64 with FreeBSD/BERI.
Assuming that other definitions in cpufunc.h are correct it will
work on non-o64 ABI systems except sibyte. On sibyte and o32 systems
generic_bs_*_8() will remain panic() implementations.

Sponsored by: DARPA, AFRL
Reviewed by: imp, jmallett (older versions)

11 years agoUpdate arswitch to the new API.
adrian [Mon, 22 Apr 2013 18:58:12 +0000 (18:58 +0000)]
Update arswitch to the new API.

11 years agoSplit BeagleBone DTS to generic AM335x part and Beagle-bone specific
gonzo [Mon, 22 Apr 2013 18:53:36 +0000 (18:53 +0000)]
Split BeagleBone DTS to generic AM335x part and Beagle-bone specific

11 years agoMinor update about rc.conf.
joel [Mon, 22 Apr 2013 18:31:39 +0000 (18:31 +0000)]
Minor update about rc.conf.

11 years agoPass more variables to bsd.prog.mk and
sjg [Mon, 22 Apr 2013 18:11:29 +0000 (18:11 +0000)]
Pass more variables to bsd.prog.mk and
only append to already defined variables.

Submitted by: Garrett Cooper

11 years agoPoint users towards nisdomainname and rc.conf.
joel [Mon, 22 Apr 2013 17:55:12 +0000 (17:55 +0000)]
Point users towards nisdomainname and rc.conf.

PR: 144630
Submitted by: Stefan Krueger <stadtkind2@gmx.de>,
Fel <wtfcrap@mail.ru>

11 years agoMinor clarificiation.
joel [Mon, 22 Apr 2013 17:38:26 +0000 (17:38 +0000)]
Minor clarificiation.

PR: 177455

11 years ago- Some BIOSes use an Extended IRQ resource descriptor in _PRS for a link
jhb [Mon, 22 Apr 2013 15:51:06 +0000 (15:51 +0000)]
- Some BIOSes use an Extended IRQ resource descriptor in _PRS for a link
  that uses non-ISA IRQs but use a plain IRQ resource in _CRS.  However,
  a non-ISA IRQ can't fit into a plain IRQ resource.  If we encounter a
  link like this, build the resource buffer from _PRS instead of _CRS.
- Set the correct size of the end tag in a resource buffer.

Tested by: Benjamin Lee <ben@b1c1l1.com>
MFC after: 2 weeks

11 years agoUse a higher TTL (128) for DHCP packets. This matches the ISC DHCP client.
jhb [Mon, 22 Apr 2013 15:02:32 +0000 (15:02 +0000)]
Use a higher TTL (128) for DHCP packets.  This matches the ISC DHCP client.

PR: bin/170279
MFC after: 1 week

11 years agoBuild uart_dev_lpc.c on arm only. This fixes pc98 build.
nyan [Mon, 22 Apr 2013 13:02:41 +0000 (13:02 +0000)]
Build uart_dev_lpc.c on arm only.  This fixes pc98 build.

11 years agoKeep up with negative addrlen check removal in r249649.
pluknet [Mon, 22 Apr 2013 09:18:50 +0000 (09:18 +0000)]
Keep up with negative addrlen check removal in r249649.

11 years agoPanic if UMA_ZONE_PCPU is created at early stages of boot, when mp_ncpus
glebius [Mon, 22 Apr 2013 09:02:23 +0000 (09:02 +0000)]
Panic if UMA_ZONE_PCPU is created at early stages of boot, when mp_ncpus
isn't yet initialized. Otherwise we will panic at first allocation later.

Sponsored by: Nginx, Inc.

11 years agoInitialize GIC_PMRR register on ARM GIC.
dmarion [Mon, 22 Apr 2013 08:28:53 +0000 (08:28 +0000)]
Initialize GIC_PMRR register on ARM GIC.

Provided by: Thomas Skibo

11 years agoClarify to the user the amount of time required to load the menus for
dteske [Mon, 22 Apr 2013 06:30:29 +0000 (06:30 +0000)]
Clarify to the user the amount of time required to load the menus for
each view in the details dialog.

11 years agoNew helper functions for common widgets.
dteske [Mon, 22 Apr 2013 06:28:45 +0000 (06:28 +0000)]
New helper functions for common widgets.

11 years agoProper fix for copy/paste error (first attempt r249756).
dteske [Mon, 22 Apr 2013 06:27:14 +0000 (06:27 +0000)]
Proper fix for copy/paste error (first attempt r249756).

11 years agoFix a copy/paste error.
dteske [Mon, 22 Apr 2013 06:20:34 +0000 (06:20 +0000)]
Fix a copy/paste error.

11 years agoUpdate comment for accuracy.
dteske [Mon, 22 Apr 2013 06:13:30 +0000 (06:13 +0000)]
Update comment for accuracy.

11 years agoStyle nit (to be consistent across project).
dteske [Mon, 22 Apr 2013 06:12:22 +0000 (06:12 +0000)]
Style nit (to be consistent across project).

11 years agoFix two bugs when setting up a plip interface. First, dhcp status was not
dteske [Mon, 22 Apr 2013 06:10:27 +0000 (06:10 +0000)]
Fix two bugs when setting up a plip interface. First, dhcp status was not
being properly cleared each iteration of the loop. Second, values weren't
properly quoted when sent to the editor function.

11 years agoConvert over the etherswitch framework to use VLAN IDs per port, rather
adrian [Mon, 22 Apr 2013 05:52:18 +0000 (05:52 +0000)]
Convert over the etherswitch framework to use VLAN IDs per port, rather
than VLAN groups.

Some chips (eg this rtl8366rb) has a VLAN group per port - you first
define a set of VLANs in a vlan group, then you assign a VLAN group
to a port.

Other chips (eg the AR8xxx switch chips) have a VLAN ID array per
port - there's no group per se, just a list of vlans that can be
configured.

So for now, the switch API will use the latter and rely on drivers
doing the heavy lifting if one wishes to use the VLAN group method.
Maybe later on both can be supported.

PR: kern/177878
PR: kern/177873
Submitted by: Luiz Otavio O Souza <loos.br@gmail.com>
Reviewed by: ray

11 years agoUI improvements. First, implement --default-item whenever and wherever
dteske [Mon, 22 Apr 2013 05:52:06 +0000 (05:52 +0000)]
UI improvements. First, implement --default-item whenever and wherever
possible to save keystrokes. Second, overhaul startup/rcdelete for much
improved performance. Last, but not least, kill-off useage of --clear
and implement --keep-tite in harmony to minimize jarring transitions.
Also, fix local variable names where necessary while we're here with
other minor comment-enhancements/typo-corrections.

11 years agoUse new f_getvar for clarity and general code follow-up to r249746.
dteske [Mon, 22 Apr 2013 05:32:27 +0000 (05:32 +0000)]
Use new f_getvar for clarity and general code follow-up to r249746.

11 years agoetherswitchcfg(8) crashes when you don't set vlangroup members.
adrian [Mon, 22 Apr 2013 05:30:20 +0000 (05:30 +0000)]
etherswitchcfg(8) crashes when you don't set vlangroup members.
Fix this to require an argument.

PR: kern/177872
Submitted by: Luiz Otavio O Souza <loos.br@gmail.com>

11 years agoInitialise this to zero before using it to configure the vlangroup
adrian [Mon, 22 Apr 2013 05:27:13 +0000 (05:27 +0000)]
Initialise this to zero before using it to configure the vlangroup
information.

PR: kern/177871
Submitted by: Luiz Otavio O Souza <loos.br@gmail.com>

11 years agoAdd new flags `-d' (sets debug=1) and `-D file' (sets debugFile) and
dteske [Mon, 22 Apr 2013 05:02:34 +0000 (05:02 +0000)]
Add new flags `-d' (sets debug=1) and `-D file' (sets debugFile) and
improve debugging initialization. Also fixup USAGE statements while we're
here. Also, change initialization of main program to _not_ change working
directory, allowing the debugFile to be relative without confusion.

11 years agoSimplify vm_radix_{add,dec}lev().
alc [Mon, 22 Apr 2013 01:26:13 +0000 (01:26 +0000)]
Simplify vm_radix_{add,dec}lev().

Sponsored by: EMC / Isilon Storage Division

11 years agoAdd missing static keyword, to make the code build with WARNS=6.
ed [Sun, 21 Apr 2013 22:47:24 +0000 (22:47 +0000)]
Add missing static keyword, to make the code build with WARNS=6.

11 years agoUnbreak the build of newfs_nandfs.
ed [Sun, 21 Apr 2013 22:36:14 +0000 (22:36 +0000)]
Unbreak the build of newfs_nandfs.

Mark global variables static. While there, make some small style(9)
cleanups and remove a variable that is unused.

11 years agoPlug static llentry leak (ipv4 & ipv6 were affected).
oleg [Sun, 21 Apr 2013 21:28:38 +0000 (21:28 +0000)]
Plug static llentry leak (ipv4 & ipv6 were affected).

PR: kern/172985
MFC after: 1 month

11 years agoRemove code duplication.
trociny [Sun, 21 Apr 2013 20:51:53 +0000 (20:51 +0000)]
Remove code duplication.

11 years agoDocument a few expansions for the $PS1 and $PS2 environmental variables.
joel [Sun, 21 Apr 2013 19:55:38 +0000 (19:55 +0000)]
Document a few expansions for the $PS1 and $PS2 environmental variables.

PR: 173410
Submitted by: Derek Wood <ddwood@outlook.com>
Reviewed by: jilles

11 years agodup(2): Remove incorrect sentence about getdtablesize().
jilles [Sun, 21 Apr 2013 19:42:04 +0000 (19:42 +0000)]
dup(2): Remove incorrect sentence about getdtablesize().

There are no getdtablesize() bounds on the file descriptor to be duplicated;
it only has to be open. If the RLIMIT_NOFILE rlimit was decreased after
opening the file descriptor, it may be greater than or equal to
getdtablesize() but still valid.

MFC after: 1 week

11 years agoFix typos in my last commit.
imp [Sun, 21 Apr 2013 17:23:27 +0000 (17:23 +0000)]
Fix typos in my last commit.

Submitted by: Niclas Zeising and Benjamin Kaduk

11 years agoNote merge to head for sendmail 8.14.7.
gshapiro [Sun, 21 Apr 2013 17:13:58 +0000 (17:13 +0000)]
Note merge to head for sendmail 8.14.7.

11 years agoMinor changes to force commit these files so new freebsd*.cf files are
gshapiro [Sun, 21 Apr 2013 17:11:45 +0000 (17:11 +0000)]
Minor changes to force commit these files so new freebsd*.cf files are
built to use the new sendmail-8.14.6/cf tree.

MFC after: 4 days

11 years agoEmbed revision id in the library.
trociny [Sun, 21 Apr 2013 17:10:10 +0000 (17:10 +0000)]
Embed revision id in the library.

MFC after: 29 days

11 years agoUpdate for sendmail 8.14.7
gshapiro [Sun, 21 Apr 2013 17:09:51 +0000 (17:09 +0000)]
Update for sendmail 8.14.7

MFC after: 4 days

11 years agoMerge sendmail 8.14.7 to HEAD
gshapiro [Sun, 21 Apr 2013 17:08:44 +0000 (17:08 +0000)]
Merge sendmail 8.14.7 to HEAD

MFC after: 4 days

11 years agoImport sendmail 8.14.7
gshapiro [Sun, 21 Apr 2013 16:35:04 +0000 (16:35 +0000)]
Import sendmail 8.14.7

11 years agoFix manual page.
hselasky [Sun, 21 Apr 2013 16:09:35 +0000 (16:09 +0000)]
Fix manual page.

PR: usb/177896
Submitted by: Leif Velcro <velcroleaf@rocketmail.com>

11 years agoAdd OHCI controller ID.
hselasky [Sun, 21 Apr 2013 16:02:50 +0000 (16:02 +0000)]
Add OHCI controller ID.

MFC after: 2 weeks
Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>

11 years agoMerge the 386 and amd64 versions of the fenv.h, to make cc -m32
kib [Sun, 21 Apr 2013 13:31:55 +0000 (13:31 +0000)]
Merge the 386 and amd64 versions of the fenv.h, to make cc -m32
compilations which use fenv.h work.

Reviewed by: tjil
Sponsored by: The FreeBSD Foundation

11 years agoRemove redundant definitions of _ALIGN and _ALIGNBYTES.
tijl [Sun, 21 Apr 2013 11:12:44 +0000 (11:12 +0000)]
Remove redundant definitions of _ALIGN and _ALIGNBYTES.

11 years agoAdd example.
joel [Sun, 21 Apr 2013 10:30:19 +0000 (10:30 +0000)]
Add example.

PR: 177025
Submitted by: Fernando <fernando.apesteguia@gmail.com>
Reviewed by: theraven

11 years agoMove EXAMPLES descriptions to before the actual command.
joel [Sun, 21 Apr 2013 10:08:33 +0000 (10:08 +0000)]
Move EXAMPLES descriptions to before the actual command.

PR: 177870
Submitted by: Bjorn Heidotting <b.heidotting@yahoo.com>

11 years agoSince we didn't break the loop, we should set i to -1 to start from the
ae [Sun, 21 Apr 2013 09:10:35 +0000 (09:10 +0000)]
Since we didn't break the loop, we should set i to -1 to start from the
beginning.

Submitted by: Steven Hartland
MFC after: 1 week

11 years agoFix an off by one calculation in wiipic_dispatch().
rpaulo [Sun, 21 Apr 2013 08:35:38 +0000 (08:35 +0000)]
Fix an off by one calculation in wiipic_dispatch().

11 years agoRemove cross-references to nonexistent CPU_SET(3) manpage.
joel [Sun, 21 Apr 2013 06:46:41 +0000 (06:46 +0000)]
Remove cross-references to nonexistent CPU_SET(3) manpage.
Also fix cpu_getaffinity(2) document title.

PR: 176317
Submitted by: brucec

11 years agoWhen doing BAW tracking, don't dereference a NULL pointer if the BAW
adrian [Sun, 21 Apr 2013 00:41:15 +0000 (00:41 +0000)]
When doing BAW tracking, don't dereference a NULL pointer if the BAW
slot is actually NULL.

11 years agoAdd more details about updating across the clang divide.
imp [Sat, 20 Apr 2013 23:33:51 +0000 (23:33 +0000)]
Add more details about updating across the clang divide.
Add hints about having a root shell around on live updates.
Couple of additional nits.

11 years agoThere's some races (likely in the BAR handling, sigh) which is causing
adrian [Sat, 20 Apr 2013 22:46:31 +0000 (22:46 +0000)]
There's some races (likely in the BAR handling, sigh) which is causing
the pause/resume code to not be called completely symmetrically.

I'll chase down the root cause of that soon; this at least works around
the bug and tells me when it happens.

11 years agoAdd missing Pp. Also remove some minor whitespace.
joel [Sat, 20 Apr 2013 22:26:33 +0000 (22:26 +0000)]
Add missing Pp. Also remove some minor whitespace.

PR: 177995
Submitted by: olgeni

11 years agomdoc: end function context properly.
joel [Sat, 20 Apr 2013 22:16:49 +0000 (22:16 +0000)]
mdoc: end function context properly.

11 years agoWrong cast.
trociny [Sat, 20 Apr 2013 15:37:33 +0000 (15:37 +0000)]
Wrong cast.

MFC after: 1 month

11 years agoEnable libcompiler-rt on MIPS.
ed [Sat, 20 Apr 2013 14:44:28 +0000 (14:44 +0000)]
Enable libcompiler-rt on MIPS.

Originally we disabled libcompiler-rt on MIPS and SPARC64, because of an
issue where __clzdi2 and __ctzdi2 would cause endless recursion. This
bug has been fixed in r230021 already, but for some reason we only
switched to libcompiler-rt on SPARC64 -- not MIPS.

This means we can finally use <stdatomic.h> on all our architectures.

11 years agoFix compilation.
ken [Sat, 20 Apr 2013 14:33:55 +0000 (14:33 +0000)]
Fix compilation.

Pointy hat to: ken

11 years agobin/df: Fix unitialized use in prtstat
uqs [Sat, 20 Apr 2013 12:41:05 +0000 (12:41 +0000)]
bin/df: Fix unitialized use in prtstat

While here:
- use NULL in the context of pointers
- use memset instead of bzero throughout the file
- free memory to appease clang static analyzer

Found by: Coverity Scan (the UNINIT one)

11 years agoMake DELAY(9) reference pause(9).
trasz [Sat, 20 Apr 2013 12:36:53 +0000 (12:36 +0000)]
Make DELAY(9) reference pause(9).

11 years agoMerge of vendor of 249690, tzdata2013c
edwin [Sat, 20 Apr 2013 11:42:10 +0000 (11:42 +0000)]
Merge of vendor of 249690, tzdata2013c

- antarctica: AusAQ and ATAQ have been removed.
- Antarctica/Macquarie has been moved to australasia file and AU.
- Asia/Hebron, Palestine updated for 2013.
- Paraguay stays with DST for the whole year.