aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/tls.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2008-01-30 07:31:52 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:31:52 -0500
commit4c79a2d8e5b7e0a2f987ace9b6af9e7a1655447b (patch)
tree6f29726cabe888dcd1b6865c4e995eb5718f84b7 /arch/x86/kernel/tls.h
parent1bd5718ce58fb49ac158653380fa200f4759daad (diff)
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>
Diffstat (limited to 'arch/x86/kernel/tls.h')
-rw-r--r--arch/x86/kernel/tls.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/x86/kernel/tls.h b/arch/x86/kernel/tls.h
new file mode 100644
index 000000000000..2f083a2fe216
--- /dev/null
+++ b/arch/x86/kernel/tls.h
@@ -0,0 +1,21 @@
1/*
2 * Internal declarations for x86 TLS implementation functions.
3 *
4 * Copyright (C) 2007 Red Hat, Inc. All rights reserved.
5 *
6 * This copyrighted material is made available to anyone wishing to use,
7 * modify, copy, or redistribute it subject to the terms and conditions
8 * of the GNU General Public License v.2.
9 *
10 * Red Hat Author: Roland McGrath.
11 */
12
13#ifndef _ARCH_X86_KERNEL_TLS_H
14
15#include <linux/regset.h>
16
17extern user_regset_active_fn regset_tls_active;
18extern user_regset_get_fn regset_tls_get;
19extern user_regset_set_fn regset_tls_set;
20
21#endif /* _ARCH_X86_KERNEL_TLS_H */