diff --git a/[refs] b/[refs] index e085e9439af7..10dca999652c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a06b24e8bf03f8677f81e0f5eb03544b60fe250f +refs/heads/master: bb61682b3f31dec7d058cae2f6edd2275248a704 diff --git a/trunk/arch/x86/kernel/ptrace.c b/trunk/arch/x86/kernel/ptrace.c index f8b89059e6ed..e6a680c7daf7 100644 --- a/trunk/arch/x86/kernel/ptrace.c +++ b/trunk/arch/x86/kernel/ptrace.c @@ -1313,6 +1313,7 @@ static const struct user_regset x86_32_regsets[] = { .active = xfpregs_active, .get = xfpregs_get, .set = xfpregs_set }, [REGSET_TLS] = { + .core_note_type = NT_386_TLS, .n = GDT_ENTRY_TLS_ENTRIES, .bias = GDT_ENTRY_TLS_MIN, .size = sizeof(struct user_desc), .align = sizeof(struct user_desc), diff --git a/trunk/include/linux/elf.h b/trunk/include/linux/elf.h index 576e83bd6d88..7ceb24d87c1a 100644 --- a/trunk/include/linux/elf.h +++ b/trunk/include/linux/elf.h @@ -355,6 +355,7 @@ typedef struct elf64_shdr { #define NT_AUXV 6 #define NT_PRXFPREG 0x46e62b7f /* copied from gdb5.1/include/elf/common.h */ #define NT_PPC_VMX 0x100 /* PowerPC Altivec/VMX registers */ +#define NT_386_TLS 0x200 /* i386 TLS slots (struct user_desc) */ /* Note header in a PT_NOTE section */