cregit-Linux how code gets into the kernel

Release 4.16 include/linux/sync_core.h

Directory: include/linux
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _LINUX_SYNC_CORE_H

#define _LINUX_SYNC_CORE_H

#ifdef CONFIG_ARCH_HAS_SYNC_CORE_BEFORE_USERMODE
#include <asm/sync_core.h>
#else
/*
 * This is a dummy sync_core_before_usermode() implementation that can be used
 * on all architectures which return to user-space through core serializing
 * instructions.
 * If your architecture returns to user-space through non-core-serializing
 * instructions, you need to write your own functions.
 */

static inline void sync_core_before_usermode(void) { }

Contributors

PersonTokensPropCommitsCommitProp
Mathieu Desnoyers8100.00%1100.00%
Total8100.00%1100.00%

#endif #endif /* _LINUX_SYNC_CORE_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
Mathieu Desnoyers29100.00%1100.00%
Total29100.00%1100.00%
Directory: include/linux
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.