Release 4.14 arch/mips/include/asm/bug.h
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __ASM_BUG_H
#define __ASM_BUG_H
#include <linux/compiler.h>
#include <asm/sgidefs.h>
#ifdef CONFIG_BUG
#include <asm/break.h>
static inline void __noreturn BUG(void)
{
__asm__ __volatile__("break %0" : : "i" (BRK_BUG));
unreachable();
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
David Daney | 15 | 93.75% | 2 | 66.67% |
Russell King | 1 | 6.25% | 1 | 33.33% |
Total | 16 | 100.00% | 3 | 100.00% |
#define HAVE_ARCH_BUG
#if (_MIPS_ISA > _MIPS_ISA_MIPS1)
static inline void __BUG_ON(unsigned long condition)
{
if (__builtin_constant_p(condition)) {
if (condition)
BUG();
else
return;
}
__asm__ __volatile__("tne $0, %0, %1"
: : "r" (condition), "i" (BRK_BUG));
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
David Daney | 32 | 100.00% | 1 | 100.00% |
Total | 32 | 100.00% | 1 | 100.00% |
#define BUG_ON(C) __BUG_ON((unsigned long)(C))
#define HAVE_ARCH_BUG_ON
#endif /* _MIPS_ISA > _MIPS_ISA_MIPS1 */
#endif
#include <asm-generic/bug.h>
#endif /* __ASM_BUG_H */
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
David Daney | 49 | 50.00% | 2 | 18.18% |
Ralf Bächle | 36 | 36.73% | 6 | 54.55% |
Russell King | 9 | 9.18% | 1 | 9.09% |
Matt Mackall | 3 | 3.06% | 1 | 9.09% |
Greg Kroah-Hartman | 1 | 1.02% | 1 | 9.09% |
Total | 98 | 100.00% | 11 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.