Re: svn commit: r226518 - head/contrib/llvm/tools/clang/lib/Basic

2011-10-18 Thread Dimitry Andric
On 2011-10-19 05:13, Garrett Cooper wrote: On Tue, Oct 18, 2011 at 8:08 PM, Garrett Cooper wrote: On Tue, Oct 18, 2011 at 10:37 AM, Dimitry Andric wrote: Author: dim Date: Tue Oct 18 17:37:18 2011 New Revision: 226518 URL: http://svn.freebsd.org/changeset/base/226518 ... It looks like this

svn commit: r226525 - head/contrib/llvm/tools/clang/lib/Basic

2011-10-18 Thread Dimitry Andric
Author: dim Date: Wed Oct 19 06:24:53 2011 New Revision: 226525 URL: http://svn.freebsd.org/changeset/base/226525 Log: Fix breakage introduced by r226518. Spotted by: tinderbox, yanefbsd at gmail.com Pointy hat to:dim Modified: head/contrib/llvm/tools/clang/lib/Basic/Targets.

Re: svn commit: r226518 - head/contrib/llvm/tools/clang/lib/Basic

2011-10-18 Thread Garrett Cooper
On Tue, Oct 18, 2011 at 8:08 PM, Garrett Cooper wrote: > On Tue, Oct 18, 2011 at 10:37 AM, Dimitry Andric wrote: >> Author: dim >> Date: Tue Oct 18 17:37:18 2011 >> New Revision: 226518 >> URL: http://svn.freebsd.org/changeset/base/226518 >> >> Log: >>  Fix the way clang retrieves the major FreeB

Re: svn commit: r226518 - head/contrib/llvm/tools/clang/lib/Basic

2011-10-18 Thread Garrett Cooper
On Tue, Oct 18, 2011 at 10:37 AM, Dimitry Andric wrote: > Author: dim > Date: Tue Oct 18 17:37:18 2011 > New Revision: 226518 > URL: http://svn.freebsd.org/changeset/base/226518 > > Log: >  Fix the way clang retrieves the major FreeBSD release number from the >  target triple, so that the __FreeBS

svn commit: r226523 - head/tools/regression/doat

2011-10-18 Thread Jilles Tjoelker
Author: jilles Date: Tue Oct 18 22:51:40 2011 New Revision: 226523 URL: http://svn.freebsd.org/changeset/base/226523 Log: Fix some memory errors in *at() regression tests. Modified: head/tools/regression/doat/doat.c Modified: head/tools/regression/doat/doat.c

svn commit: r226522 - head/sys/geom/part

2011-10-18 Thread Marius Strobl
Author: marius Date: Tue Oct 18 20:16:02 2011 New Revision: 226522 URL: http://svn.freebsd.org/changeset/base/226522 Log: Allow to dump on Solaris swap partitions. PR: 161764 Submitted by: Peter Jeremy Modified: head/sys/geom/part/g_part_vtoc8.c Modified: head/sys/geom/part/

Re: svn commit: r226510 - in head/sys: amd64/conf i386/conf ia64/conf sparc64/conf

2011-10-18 Thread Doug Barton
On 10/18/2011 06:45, Ken Smith wrote: > Author: kensmith > Date: Tue Oct 18 13:45:16 2011 > New Revision: 226510 > URL: http://svn.freebsd.org/changeset/base/226510 > > Log: > Comment out the sbp(4) driver for architectures that support it. > > As part of the 8.0-RELEASE cycle this was done

svn commit: r226520 - head/sbin/dump

2011-10-18 Thread Kirk McKusick
Author: mckusick Date: Tue Oct 18 18:42:26 2011 New Revision: 226520 URL: http://svn.freebsd.org/changeset/base/226520 Log: The current /etc/dumpdates file restricts device names to 32 characters. With the addition of various GEOM layers some device names now exceed this length, for example

Re: svn commit: r226519 - head/gnu/usr.bin/cc/cc_tools

2011-10-18 Thread Dimitry Andric
On 2011-10-18 20:08, Alexander Best wrote: On Tue Oct 18 11, Dimitry Andric wrote: Author: dim Date: Tue Oct 18 17:38:25 2011 New Revision: 226519 URL: http://svn.freebsd.org/changeset/base/226519 Log: Update gcc's __FreeBSD__ and __FreeBSD_cc_version macros for FreeBSD 10. should these al

Re: svn commit: r226519 - head/gnu/usr.bin/cc/cc_tools

2011-10-18 Thread Alexander Best
On Tue Oct 18 11, Dimitry Andric wrote: > Author: dim > Date: Tue Oct 18 17:38:25 2011 > New Revision: 226519 > URL: http://svn.freebsd.org/changeset/base/226519 > > Log: > Update gcc's __FreeBSD__ and __FreeBSD_cc_version macros for FreeBSD 10. should these also be updated to 9? maybe before i

svn commit: r226519 - head/gnu/usr.bin/cc/cc_tools

2011-10-18 Thread Dimitry Andric
Author: dim Date: Tue Oct 18 17:38:25 2011 New Revision: 226519 URL: http://svn.freebsd.org/changeset/base/226519 Log: Update gcc's __FreeBSD__ and __FreeBSD_cc_version macros for FreeBSD 10. Modified: head/gnu/usr.bin/cc/cc_tools/freebsd-native.h Modified: head/gnu/usr.bin/cc/cc_tools/freeb

svn commit: r226518 - head/contrib/llvm/tools/clang/lib/Basic

2011-10-18 Thread Dimitry Andric
Author: dim Date: Tue Oct 18 17:37:18 2011 New Revision: 226518 URL: http://svn.freebsd.org/changeset/base/226518 Log: Fix the way clang retrieves the major FreeBSD release number from the target triple, so that the __FreeBSD__ and __FreeBSD_cc_version builtin macros return the expected resu

svn commit: r226517 - in head/sys/mips: include mips

2011-10-18 Thread Jayachandran C.
Author: jchandra Date: Tue Oct 18 16:37:28 2011 New Revision: 226517 URL: http://svn.freebsd.org/changeset/base/226517 Log: Fix wakeup latency when sleeping with 'wait' If we handle an interrupt just before the 'wait' and the interrupt schedules some work, we need to skip the 'wait' call.

Re: svn commit: r226514 - in head: lib/libpmc sys/dev/hwpmc sys/sys usr.sbin/pmcstat

2011-10-18 Thread Bjoern A. Zeeb
On 18. Oct 2011, at 15:25 , Fabien Thomas wrote: > Author: fabient > Date: Tue Oct 18 15:25:43 2011 > New Revision: 226514 > URL: http://svn.freebsd.org/changeset/base/226514 > > Log: > Add a flush of the current PMC log buffer before displaying the next top. > > As the underlying block is 4K

svn commit: r226514 - in head: lib/libpmc sys/dev/hwpmc sys/sys usr.sbin/pmcstat

2011-10-18 Thread Fabien Thomas
Author: fabient Date: Tue Oct 18 15:25:43 2011 New Revision: 226514 URL: http://svn.freebsd.org/changeset/base/226514 Log: Add a flush of the current PMC log buffer before displaying the next top. As the underlying block is 4KB if the PMC throughput is low the measurement will be reported

Re: svn commit: r226501 - in head/sys: boot/fdt/dts mips/conf mips/include mips/nlm

2011-10-18 Thread Bjoern A. Zeeb
On 18. Oct 2011, at 13:46 , Jayachandran C. wrote: > On Tue, Oct 18, 2011 at 6:42 PM, Bjoern A. Zeeb > wrote: >> >> On 18. Oct 2011, at 08:10 , Jayachandran C. wrote: >> >>> Author: jchandra >>> Date: Tue Oct 18 08:10:23 2011 >>> New Revision: 226501 >>> URL: http://svn.freebsd.org/changeset/b

svn commit: r226513 - head/sys/mips/nlm

2011-10-18 Thread Jayachandran C.
Author: jchandra Date: Tue Oct 18 14:05:18 2011 New Revision: 226513 URL: http://svn.freebsd.org/changeset/base/226513 Log: Fix XLP compile failure on n32 abi. Reported by: bz@ Modified: head/sys/mips/nlm/xlp_machdep.c Modified: head/sys/mips/nlm/xlp_machdep.c =

svn commit: r226512 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2011-10-18 Thread Martin Matuska
Author: mm Date: Tue Oct 18 13:58:22 2011 New Revision: 226512 URL: http://svn.freebsd.org/changeset/base/226512 Log: Import fix for Illumos bug #1475 to reduce diff against upstream. Panic caused by this bug was already partially fixed by pjd@ in p4 CH 185940 and 185942. Reference:

svn commit: r226511 - stable/9/usr.sbin/bsdinstall/scripts

2011-10-18 Thread Ken Smith
Author: kensmith Date: Tue Oct 18 13:48:31 2011 New Revision: 226511 URL: http://svn.freebsd.org/changeset/base/226511 Log: MFC r226507: > Escape the newline so we get a proper line continuation. Without this > the text of the menu selections doesn't get displayed properly and it > makes

Re: svn commit: r226501 - in head/sys: boot/fdt/dts mips/conf mips/include mips/nlm

2011-10-18 Thread Jayachandran C.
On Tue, Oct 18, 2011 at 6:42 PM, Bjoern A. Zeeb wrote: > > On 18. Oct 2011, at 08:10 , Jayachandran C. wrote: > >> Author: jchandra >> Date: Tue Oct 18 08:10:23 2011 >> New Revision: 226501 >> URL: http://svn.freebsd.org/changeset/base/226501 >> >> Log: >>  Support for booting XLP using FDT. >> >>

svn commit: r226510 - in head/sys: amd64/conf i386/conf ia64/conf sparc64/conf

2011-10-18 Thread Ken Smith
Author: kensmith Date: Tue Oct 18 13:45:16 2011 New Revision: 226510 URL: http://svn.freebsd.org/changeset/base/226510 Log: Comment out the sbp(4) driver for architectures that support it. As part of the 8.0-RELEASE cycle this was done in stable/8 (r199112) but was left alone in head so p

Re: svn commit: r226501 - in head/sys: boot/fdt/dts mips/conf mips/include mips/nlm

2011-10-18 Thread Bjoern A. Zeeb
On 18. Oct 2011, at 08:10 , Jayachandran C. wrote: > Author: jchandra > Date: Tue Oct 18 08:10:23 2011 > New Revision: 226501 > URL: http://svn.freebsd.org/changeset/base/226501 > > Log: > Support for booting XLP using FDT. > > - update xlp_machdep.c to read arguments from FDT if FDT support

svn commit: r226509 - head/bin/ls

2011-10-18 Thread Dag-Erling Smorgrav
Author: des Date: Tue Oct 18 13:10:46 2011 New Revision: 226509 URL: http://svn.freebsd.org/changeset/base/226509 Log: When calculating the width of the blocksize column, ls(1) used 512-byte units (as returned by stat(2)) instead of BLOCKSIZE units. Submitted by: Paul Schenkeveld MFC af

svn commit: r226507 - head/usr.sbin/bsdinstall/scripts

2011-10-18 Thread Ken Smith
Author: kensmith Date: Tue Oct 18 11:29:10 2011 New Revision: 226507 URL: http://svn.freebsd.org/changeset/base/226507 Log: Escape the newline so we get a proper line continuation. Without this the text of the menu selections doesn't get displayed properly and it makes the installer appear

Re: svn commit: r226475 - head/lib/clang

2011-10-18 Thread Dimitry Andric
On 2011-10-18 12:43, Nali Toja wrote: ... -CFLAGS+=-DLLVM_HOSTTRIPLE=\"${TARGET_ARCH:C/amd64/x86_64/}-unknown-freebsd9.0\" +CFLAGS+=-DLLVM_HOSTTRIPLE=\"${TARGET_ARCH:C/amd64/x86_64/}-unknown-freebsd10.0\" I think this results in __FreeBSD__ macro being defined as `1' and subsequently breaking cl

Re: svn commit: r226475 - head/lib/clang

2011-10-18 Thread Nali Toja
Nali Toja writes: >> Log: >> Update llvm/clang's target triple (confusingly named LLVM_HOSTTRIPLE) to >> $arch-unknown-freebsd10.0. >> >> Modified: >> head/lib/clang/clang.build.mk >> >> Modified: head/lib/clang/clang.build.mk >> =

svn commit: r226506 - in head/sys/boot: arm/at91/boot2 arm/ixp425/boot2 i386/boot2 i386/gptboot i386/zfsboot pc98/boot2

2011-10-18 Thread Dag-Erling Smorgrav
Author: des Date: Tue Oct 18 09:46:52 2011 New Revision: 226506 URL: http://svn.freebsd.org/changeset/base/226506 Log: Look for /boot/config in addition to /boot.config, with the former taking precedence over the latter if it exists. MFC after:3 weeks Modified: head/sys/boot/arm/at

svn commit: r226505 - head/usr.bin/kdump

2011-10-18 Thread Dag-Erling Smorgrav
Author: des Date: Tue Oct 18 09:39:41 2011 New Revision: 226505 URL: http://svn.freebsd.org/changeset/base/226505 Log: Fix copy-pasto in CAPFAIL_INCREASE case. Noticed by: pjd Modified: head/usr.bin/kdump/kdump.c Modified: head/usr.bin/kdump/kdump.c ===

svn commit: r226504 - head/usr.bin/ktrace

2011-10-18 Thread Dag-Erling Smorgrav
Author: des Date: Tue Oct 18 08:26:12 2011 New Revision: 226504 URL: http://svn.freebsd.org/changeset/base/226504 Log: Make ktrace(1) build cleanly at WARNS level 6 by completely rethinking the way in which it handles the -C, -c, -g and -p options. MFC after:3 weeks Modified: head/

svn commit: r226503 - head/bin/df

2011-10-18 Thread Dag-Erling Smorgrav
Author: des Date: Tue Oct 18 08:20:36 2011 New Revision: 226503 URL: http://svn.freebsd.org/changeset/base/226503 Log: Minor clarification MFC after:3 weeks Modified: head/bin/df/df.1 Modified: head/bin/df/df.1

svn commit: r226502 - head/bin/df

2011-10-18 Thread Dag-Erling Smorgrav
Author: des Date: Tue Oct 18 08:18:26 2011 New Revision: 226502 URL: http://svn.freebsd.org/changeset/base/226502 Log: Simplify df(1) by factoring out most of the common code: - In the argc == 0 case, just populate the mount list as before, but do not calculate widths, update totals o

svn commit: r226501 - in head/sys: boot/fdt/dts mips/conf mips/include mips/nlm

2011-10-18 Thread Jayachandran C.
Author: jchandra Date: Tue Oct 18 08:10:23 2011 New Revision: 226501 URL: http://svn.freebsd.org/changeset/base/226501 Log: Support for booting XLP using FDT. - update xlp_machdep.c to read arguments from FDT if FDT support is compiled in. - define rmi_uart_bus_space, and use it as fd

svn commit: r226500 - in head/sys: dev/gpio dev/ksyms dev/vkbd net security/audit sys

2011-10-18 Thread Ed Schouten
Author: ed Date: Tue Oct 18 08:09:44 2011 New Revision: 226500 URL: http://svn.freebsd.org/changeset/base/226500 Log: Get rid of D_PSEUDO. It seems the D_PSEUDO flag was meant to allow make_dev() to return NULL. Nowadays we have a different interface for that; make_dev_p(). There's no n

svn commit: r226498 - in head/sys: amd64/amd64 arm/arm i386/i386 sparc64/sparc64

2011-10-18 Thread Dag-Erling Smorgrav
Author: des Date: Tue Oct 18 07:39:27 2011 New Revision: 226498 URL: http://svn.freebsd.org/changeset/base/226498 Log: Trace attempts to call restricted MD syscalls. Modified: head/sys/amd64/amd64/sys_machdep.c head/sys/arm/arm/sys_machdep.c head/sys/i386/i386/sys_machdep.c head/sys/spa

svn commit: r226497 - head/sys/fs/portalfs

2011-10-18 Thread Dag-Erling Smorgrav
Author: des Date: Tue Oct 18 07:31:49 2011 New Revision: 226497 URL: http://svn.freebsd.org/changeset/base/226497 Log: Trace attempts to open a portal device. Ceterum censeo portalfs esse delendam. Modified: head/sys/fs/portalfs/portal_vnops.c Modified: head/sys/fs/portalfs/portal_vnops

svn commit: r226496 - in head/sys: conf dev/fdt mips/include

2011-10-18 Thread Jayachandran C.
Author: jchandra Date: Tue Oct 18 07:29:21 2011 New Revision: 226496 URL: http://svn.freebsd.org/changeset/base/226496 Log: FDT support for MIPS. Add architecture specific files needed to compile MIPS with flattened device tree support. Added: head/sys/dev/fdt/fdt_mips.c (contents, p

svn commit: r226495 - in head: sys/kern sys/sys usr.bin/kdump

2011-10-18 Thread Dag-Erling Smorgrav
Author: des Date: Tue Oct 18 07:28:58 2011 New Revision: 226495 URL: http://svn.freebsd.org/changeset/base/226495 Log: Revisit the capability failure trace points. The initial implementation only logged instances where an operation on a file descriptor required capabilities which the file d