Re: [PATCH 1/2] bug.h: Introduce HAVE_ARCH_WARN

2007-10-18 Thread Olof Johansson
On Thu, Oct 18, 2007 at 03:17:52PM -0700, Andrew Morton wrote: > On Thu, 11 Oct 2007 12:12:11 -0500 > Olof Johansson <[EMAIL PROTECTED]> wrote: > > > HAVE_ARCH_WARN is used to determine if an arch already has a __WARN() > > macro, or if a generic one is needed. > > > > With this, some of the

Re: [PATCH 1/2] bug.h: Introduce HAVE_ARCH_WARN

2007-10-18 Thread Andrew Morton
On Thu, 11 Oct 2007 12:12:11 -0500 Olof Johansson <[EMAIL PROTECTED]> wrote: > HAVE_ARCH_WARN is used to determine if an arch already has a __WARN() > macro, or if a generic one is needed. > > With this, some of the arch-specific WARN_ON() implementations can be > made common instead (see

Re: [PATCH 1/2] bug.h: Introduce HAVE_ARCH_WARN

2007-10-18 Thread Andrew Morton
On Thu, 11 Oct 2007 12:12:11 -0500 Olof Johansson [EMAIL PROTECTED] wrote: HAVE_ARCH_WARN is used to determine if an arch already has a __WARN() macro, or if a generic one is needed. With this, some of the arch-specific WARN_ON() implementations can be made common instead (see follow-up

Re: [PATCH 1/2] bug.h: Introduce HAVE_ARCH_WARN

2007-10-18 Thread Olof Johansson
On Thu, Oct 18, 2007 at 03:17:52PM -0700, Andrew Morton wrote: On Thu, 11 Oct 2007 12:12:11 -0500 Olof Johansson [EMAIL PROTECTED] wrote: HAVE_ARCH_WARN is used to determine if an arch already has a __WARN() macro, or if a generic one is needed. With this, some of the arch-specific

Re: [PATCH 1/2] bug.h: Introduce HAVE_ARCH_WARN

2007-10-11 Thread Paul Mundt
On Thu, Oct 11, 2007 at 12:12:11PM -0500, Olof Johansson wrote: > HAVE_ARCH_WARN is used to determine if an arch already has a __WARN() > macro, or if a generic one is needed. > > With this, some of the arch-specific WARN_ON() implementations can be > made common instead (see follow-up patch for

Re: [PATCH 1/2] bug.h: Introduce HAVE_ARCH_WARN

2007-10-11 Thread Kyle McMartin
On Thu, Oct 11, 2007 at 12:12:11PM -0500, Olof Johansson wrote: > HAVE_ARCH_WARN is used to determine if an arch already has a __WARN() > macro, or if a generic one is needed. > > With this, some of the arch-specific WARN_ON() implementations can be > made common instead (see follow-up patch for

[PATCH 1/2] bug.h: Introduce HAVE_ARCH_WARN

2007-10-11 Thread Olof Johansson
HAVE_ARCH_WARN is used to determine if an arch already has a __WARN() macro, or if a generic one is needed. With this, some of the arch-specific WARN_ON() implementations can be made common instead (see follow-up patch for powerpc). Signed-off-by: Olof Johansson <[EMAIL PROTECTED]> diff --git

[PATCH 1/2] bug.h: Introduce HAVE_ARCH_WARN

2007-10-11 Thread Olof Johansson
HAVE_ARCH_WARN is used to determine if an arch already has a __WARN() macro, or if a generic one is needed. With this, some of the arch-specific WARN_ON() implementations can be made common instead (see follow-up patch for powerpc). Signed-off-by: Olof Johansson [EMAIL PROTECTED] diff --git

Re: [PATCH 1/2] bug.h: Introduce HAVE_ARCH_WARN

2007-10-11 Thread Kyle McMartin
On Thu, Oct 11, 2007 at 12:12:11PM -0500, Olof Johansson wrote: HAVE_ARCH_WARN is used to determine if an arch already has a __WARN() macro, or if a generic one is needed. With this, some of the arch-specific WARN_ON() implementations can be made common instead (see follow-up patch for

Re: [PATCH 1/2] bug.h: Introduce HAVE_ARCH_WARN

2007-10-11 Thread Paul Mundt
On Thu, Oct 11, 2007 at 12:12:11PM -0500, Olof Johansson wrote: HAVE_ARCH_WARN is used to determine if an arch already has a __WARN() macro, or if a generic one is needed. With this, some of the arch-specific WARN_ON() implementations can be made common instead (see follow-up patch for