]> Git Repo - linux.git/blob - arch/loongarch/include/asm/entry-common.h
Merge tag 'amd-drm-next-6.5-2023-06-09' of https://gitlab.freedesktop.org/agd5f/linux...
[linux.git] / arch / loongarch / include / asm / entry-common.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef ARCH_LOONGARCH_ENTRY_COMMON_H
3 #define ARCH_LOONGARCH_ENTRY_COMMON_H
4
5 #include <linux/sched.h>
6 #include <linux/processor.h>
7
8 static inline bool on_thread_stack(void)
9 {
10         return !(((unsigned long)(current->stack) ^ current_stack_pointer) & ~(THREAD_SIZE - 1));
11 }
12
13 #endif
This page took 0.033269 seconds and 4 git commands to generate.