cregit-Linux how code gets into the kernel

Release 4.14 arch/sh/include/asm/bl_bit_32.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __ASM_SH_BL_BIT_32_H

#define __ASM_SH_BL_BIT_32_H


static inline void set_bl_bit(void) { unsigned long __dummy0, __dummy1; __asm__ __volatile__ ( "stc sr, %0\n\t" "or %2, %0\n\t" "and %3, %0\n\t" "ldc %0, sr\n\t" : "=&r" (__dummy0), "=r" (__dummy1) : "r" (0x10000000), "r" (0xffffff0f) : "memory" ); }

Contributors

PersonTokensPropCommitsCommitProp
David Howells18100.00%1100.00%
Total18100.00%1100.00%


static inline void clear_bl_bit(void) { unsigned long __dummy0, __dummy1; __asm__ __volatile__ ( "stc sr, %0\n\t" "and %2, %0\n\t" "ldc %0, sr\n\t" : "=&r" (__dummy0), "=r" (__dummy1) : "1" (~0x10000000) : "memory" ); }

Contributors

PersonTokensPropCommitsCommitProp
David Howells18100.00%1100.00%
Total18100.00%1100.00%

#endif /* __ASM_SH_BL_BIT_32_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
David Howells4597.83%150.00%
Greg Kroah-Hartman12.17%150.00%
Total46100.00%2100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.