diff options
author | Roland McGrath <roland@redhat.com> | 2008-01-30 13:31:52 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 13:31:52 +0100 |
commit | 4c79a2d8e5b7e0a2f987ace9b6af9e7a1655447b (patch) | |
tree | 6f29726cabe888dcd1b6865c4e995eb5718f84b7 /arch/x86/kernel/tls.h | |
parent | 1bd5718ce58fb49ac158653380fa200f4759daad (diff) | |
download | linux-stable-4c79a2d8e5b7e0a2f987ace9b6af9e7a1655447b.tar.gz linux-stable-4c79a2d8e5b7e0a2f987ace9b6af9e7a1655447b.tar.bz2 linux-stable-4c79a2d8e5b7e0a2f987ace9b6af9e7a1655447b.zip |
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.h | 21 |
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 @@ +/* + * 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 */ |