cregit-Linux how code gets into the kernel

Release 4.11 arch/mips/include/asm/bug.h

#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.52%220.00%
Ralf Bächle3637.11%660.00%
Russell King99.28%110.00%
Matt Mackall33.09%110.00%
Total97100.00%10100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.