cregit-Linux how code gets into the kernel

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

PersonTokensPropCommitsCommitProp
David Daney1593.75%266.67%
Russell King16.25%133.33%
Total16100.00%3100.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

PersonTokensPropCommitsCommitProp
David Daney32100.00%1100.00%
Total32100.00%1100.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

PersonTokensPropCommitsCommitProp
David Daney4950.00%218.18%
Ralf Bächle3636.73%654.55%
Russell King99.18%19.09%
Matt Mackall33.06%19.09%
Greg Kroah-Hartman11.02%19.09%
Total98100.00%11100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.