aboutsummaryrefslogtreecommitdiff
path: root/include/asm-sh/bug.h
AgeCommit message (Collapse)AuthorFilesLines
2008-07-29sh: migrate to arch/sh/include/Paul Mundt1-79/+0
This follows the sparc changes a439fe51a1f8eb087c22dd24d69cebae4a3addac. Most of the moving about was done with Sam's directions at: http://marc.info/?l=linux-sh&m=121724823706062&w=2 with subsequent hacking and fixups entirely my fault. Signed-off-by: Sam Ravnborg <[email protected]> Signed-off-by: Paul Mundt <[email protected]>
2008-01-28sh: Fix up generic BUG build for SH-5.Paul Mundt1-5/+0
Signed-off-by: Paul Mundt <[email protected]>
2008-01-28sh: BUGFLAG_WARNING needs GENERIC_BUG.Paul Mundt1-2/+2
Move the HAVE_ARCH_BUG/HAVE_ARCH_WARN_ON definitions underneath CONFIG_GENERIC_BUG. This is needed for BUGFLAG_WARNING usage. Signed-off-by: Paul Mundt <[email protected]>
2007-08-01Fix WARN_ON() on bitfield ops for all other archsHeiko Carstens1-1/+1
Fixes WARN_ON() on bitfiels ops for all architectures that have been left out in 8d4fbcfbe0a4bfc73e7f0297c59ae514e1f1436f. Cc: Alexey Dobriyan <[email protected]> Cc: Herbert Xu <[email protected]> Cc: Haavard Skinnemoen <[email protected]> Cc: Matthew Wilcox <[email protected]> Cc: Kyle McMartin <[email protected]> Cc: Martin Schwidefsky <[email protected]> Acked-by: Paul Mundt <[email protected]> Signed-off-by: Heiko Carstens <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2007-05-09sh: Always define TRAPA_BUG_OPCODE.Paul Mundt1-2/+2
Previously this was only set when CONFIG_BUG=y. While we rely on that for handle_BUG() dispatch, we still want to hand the opcode off to the die chain notifier for determining the trap value. Signed-off-by: Paul Mundt <[email protected]>
2007-05-07sh: generic BUG() support.Paul Mundt1-31/+61
Wire up GENERIC_BUG for SH. This moves off of the special bug frame and on to the generic struct bug_entry. Roughly the same semantics are retained, and we can kill off some of the verbose BUG() reporting code. Signed-off-by: Paul Mundt <[email protected]>
2006-12-12sh: BUG() handling through trapa vector.Paul Mundt1-9/+44
Previously we haven't been doing anything with verbose BUG() reporting, and we've been relying on the oops path for handling BUG()'s, which is rather sub-optimal. This switches BUG handling to use a fixed trapa vector (#0x3e) where we construct a small bug frame post trapa instruction to get the context right. This also makes it trivial to wire up a DIE_BUG for the atomic die chain, which we couldn't really do before. Signed-off-by: Paul Mundt <[email protected]>
2006-04-26Don't include linux/config.h from anywhere else in include/David Woodhouse1-1/+0
Signed-off-by: David Woodhouse <[email protected]>
2005-05-01[PATCH] remove all kernel BUGsMatt Mackall1-0/+3
This patch eliminates all kernel BUGs, trims about 35k off the typical kernel, and makes the system slightly faster. Signed-off-by: Matt Mackall <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-04-16Linux-2.6.12-rc2Linus Torvalds1-0/+17
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!