FILE
stub-data.h
File preview with syntax highlighting.
linux-6.19.14/arch/x86/um/shared/sysdep/stub-data.h
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef __ARCH_STUB_DATA_H 3#define __ARCH_STUB_DATA_H 4 5#ifdef __i386__ 6#include <generated/asm-offsets.h> 7#include <asm/ldt.h> 8 9struct stub_data_arch { 10 int sync; 11 struct user_desc tls[UM_KERN_GDT_ENTRY_TLS_ENTRIES]; 12}; 13#else 14#define STUB_SYNC_FS_BASE (1 << 0) 15#define STUB_SYNC_GS_BASE (1 << 1) 16struct stub_data_arch { 17 int sync; 18 unsigned long fs_base; 19 unsigned long gs_base; 20}; 21#endif 22 23#endif /* __ARCH_STUB_DATA_H */
~/
Read-only file preview.