x86: x86 user_regset TLS
This adds accessor functions in the user_regset style for the TLS data. Signed-off-by: Roland McGrath <roland@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
committed by
Ingo Molnar
parent
1bd5718ce5
commit
4c79a2d8e5
21
arch/x86/kernel/tls.h
Normal file
21
arch/x86/kernel/tls.h
Normal file
@@ -0,0 +1,21 @@
|
||||
/*
|
||||
* Internal declarations for x86 TLS implementation functions.
|
||||
*
|
||||
* Copyright (C) 2007 Red Hat, Inc. All rights reserved.
|
||||
*
|
||||
* This copyrighted material is made available to anyone wishing to use,
|
||||
* modify, copy, or redistribute it subject to the terms and conditions
|
||||
* of the GNU General Public License v.2.
|
||||
*
|
||||
* Red Hat Author: Roland McGrath.
|
||||
*/
|
||||
|
||||
#ifndef _ARCH_X86_KERNEL_TLS_H
|
||||
|
||||
#include <linux/regset.h>
|
||||
|
||||
extern user_regset_active_fn regset_tls_active;
|
||||
extern user_regset_get_fn regset_tls_get;
|
||||
extern user_regset_set_fn regset_tls_set;
|
||||
|
||||
#endif /* _ARCH_X86_KERNEL_TLS_H */
|
Reference in New Issue
Block a user