![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 #ifndef _LINUX_SYNC_CORE_H 0003 #define _LINUX_SYNC_CORE_H 0004 0005 #ifdef CONFIG_ARCH_HAS_SYNC_CORE_BEFORE_USERMODE 0006 #include <asm/sync_core.h> 0007 #else 0008 /* 0009 * This is a dummy sync_core_before_usermode() implementation that can be used 0010 * on all architectures which return to user-space through core serializing 0011 * instructions. 0012 * If your architecture returns to user-space through non-core-serializing 0013 * instructions, you need to write your own functions. 0014 */ 0015 static inline void sync_core_before_usermode(void) 0016 { 0017 } 0018 #endif 0019 0020 #endif /* _LINUX_SYNC_CORE_H */ 0021
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |