public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: David Daney <ddaney@caviumnetworks•com>
To: Andrew Morton <akpm@linux-foundation•org>,
	David Howells <dhowells@redhat•com>,
	Koichi Yasutake <yasutake.koichi@jp•panasonic.com>,
	linux-am33-list@redhat•com, Kyle McMartin <kyle@mcmartin•ca>,
	Helge Deller <deller@gmx•de>,
	linux-parisc@vger•kernel.org,
	Benjamin Herrenschmidt <benh@kernel•crashing.org>,
	Paul Mackerras <paulus@samba•org>,
	linuxppc-dev@ozlabs•org, Richard Henderson <rth@twiddle•net>,
	Ivan Kokshaysky <ink@jurassic•park.msu.ru>,
	Matt Turner <mattst88@gmail•com>,
	linux-alpha@vger•kernel.org, Mike Frysinger <vapier@gentoo•org>,
	uclinux-dist-devel@blackfin•uclinux.org
Cc: linux-arch@vger•kernel.org,
	Linus Torvalds <torvalds@linux-foundation•org>,
	Linux Kernel Mailing List <linux-kernel@vger•kernel.org>
Subject: [PATCH 0/5] More unreachable() conversions.
Date: Thu, 10 Dec 2009 09:25:00 -0800	[thread overview]
Message-ID: <4B212EEC.3060808@caviumnetworks.com> (raw)

Back in commit 38938c879eb0c39edf85d5164aa0cffe2874304c the new macro
unreachable() was added.  We can use it in BUG instead of a variety of
ad hoc endless loops.

This patch set consists of the patches from the original set that were
never Acked-by anyone.  Although they are completely untested, they
seem plausible.

I don't plan on pushing these things out any more, so if you
like them please merge them via your architecture trees.

I will reply with the 5 patches.

David Daney (5):
   mn10300: Convert BUG() to use unreachable()
   parisc: Convert BUG() to use unreachable()
   powerpc: Convert BUG() to use unreachable()
   alpha: Convert BUG() to use unreachable()
   blackfin: Convert BUG() to use unreachable()

  arch/alpha/include/asm/bug.h    |    3 ++-
  arch/blackfin/include/asm/bug.h |    2 +-
  arch/mn10300/include/asm/bug.h  |    3 ++-
  arch/parisc/include/asm/bug.h   |    4 ++--
  arch/powerpc/include/asm/bug.h  |    2 +-
  5 files changed, 8 insertions(+), 6 deletions(-)

             reply	other threads:[~2009-12-10 17:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-10 17:25 David Daney [this message]
2009-12-10 17:28 ` [PATCH 3/5] powerpc: Convert BUG() to use unreachable() David Daney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B212EEC.3060808@caviumnetworks.com \
    --to=ddaney@caviumnetworks$(echo .)com \
    --cc=akpm@linux-foundation$(echo .)org \
    --cc=benh@kernel$(echo .)crashing.org \
    --cc=deller@gmx$(echo .)de \
    --cc=dhowells@redhat$(echo .)com \
    --cc=ink@jurassic$(echo .)park.msu.ru \
    --cc=kyle@mcmartin$(echo .)ca \
    --cc=linux-alpha@vger$(echo .)kernel.org \
    --cc=linux-am33-list@redhat$(echo .)com \
    --cc=linux-arch@vger$(echo .)kernel.org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-parisc@vger$(echo .)kernel.org \
    --cc=linuxppc-dev@ozlabs$(echo .)org \
    --cc=mattst88@gmail$(echo .)com \
    --cc=paulus@samba$(echo .)org \
    --cc=rth@twiddle$(echo .)net \
    --cc=torvalds@linux-foundation$(echo .)org \
    --cc=uclinux-dist-devel@blackfin$(echo .)uclinux.org \
    --cc=vapier@gentoo$(echo .)org \
    --cc=yasutake.koichi@jp$(echo .)panasonic.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox