summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/bug.h
Commit message (Collapse)AuthorAgeFilesLines
* [MIPS] Fix BUG(), BUG_ON() handlingAtsushi Nemoto2007-04-201-1/+2
| | | | | | | | | | With commit 63dc68a8cf60cb110b147dab1704d990808b39e2, kernel can not handle BUG() and BUG_ON() properly since get_user() returns false for kernel code. Use __get_user() to skip unnecessary access_ok(). This patch also make BRK_BUG code encoded in the TNE instruction. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* [MIPS] Use conditional traps for BUG_ON on MIPS II and better.Ralf Baechle2006-11-301-0/+12
| | | | | | | This shaves of around 4kB and a few cycles for the average kernel that has CONFIG_BUG enabled. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Don't include linux/config.h from anywhere else in include/David Woodhouse2006-04-261-1/+0
| | | | Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* Fix weirdness in <asm/bug.h>Ralf Baechle2005-10-291-3/+2
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix build for CONFIG_BUG=n. Yes, bugs are now a compile time option ;-)Ralf Baechle2005-10-291-2/+2
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Bugs are now a configuration option.Ralf Baechle2005-10-291-0/+6
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* [PATCH] remove all kernel BUGsMatt Mackall2005-05-011-1/+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 <mpm@selenic.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds2005-04-161-0/+14
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!
OpenPOWER on IntegriCloud