diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2008-05-17 10:01:05 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-17 10:01:05 -0400 |
commit | 0e50a4c6ab94ffe7e5515b86b5df9e5abc8c6b13 (patch) | |
tree | 3c688483e71261f564fc43be3157b337ae340dca /arch/x86/kernel/ptrace.c | |
parent | 34b2cd5b688b012975fcfc3b3970fc3508fa82c4 (diff) | |
parent | f26a3988917913b3d11b2bd741601a2c64ab9204 (diff) |
Merge branch 'linus' into x86/pebs
Diffstat (limited to 'arch/x86/kernel/ptrace.c')
-rw-r--r-- | arch/x86/kernel/ptrace.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/x86/kernel/ptrace.c b/arch/x86/kernel/ptrace.c index b7ff783dc5fe..170f0932f70f 100644 --- a/arch/x86/kernel/ptrace.c +++ b/arch/x86/kernel/ptrace.c | |||
@@ -1397,6 +1397,9 @@ static const struct user_regset_view user_x86_64_view = { | |||
1397 | #define genregs32_get genregs_get | 1397 | #define genregs32_get genregs_get |
1398 | #define genregs32_set genregs_set | 1398 | #define genregs32_set genregs_set |
1399 | 1399 | ||
1400 | #define user_i387_ia32_struct user_i387_struct | ||
1401 | #define user32_fxsr_struct user_fxsr_struct | ||
1402 | |||
1400 | #endif /* CONFIG_X86_64 */ | 1403 | #endif /* CONFIG_X86_64 */ |
1401 | 1404 | ||
1402 | #if defined CONFIG_X86_32 || defined CONFIG_IA32_EMULATION | 1405 | #if defined CONFIG_X86_32 || defined CONFIG_IA32_EMULATION |
@@ -1409,13 +1412,13 @@ static const struct user_regset x86_32_regsets[] = { | |||
1409 | }, | 1412 | }, |
1410 | [REGSET_FP] = { | 1413 | [REGSET_FP] = { |
1411 | .core_note_type = NT_PRFPREG, | 1414 | .core_note_type = NT_PRFPREG, |
1412 | .n = sizeof(struct user_i387_struct) / sizeof(u32), | 1415 | .n = sizeof(struct user_i387_ia32_struct) / sizeof(u32), |
1413 | .size = sizeof(u32), .align = sizeof(u32), | 1416 | .size = sizeof(u32), .align = sizeof(u32), |
1414 | .active = fpregs_active, .get = fpregs_get, .set = fpregs_set | 1417 | .active = fpregs_active, .get = fpregs_get, .set = fpregs_set |
1415 | }, | 1418 | }, |
1416 | [REGSET_XFP] = { | 1419 | [REGSET_XFP] = { |
1417 | .core_note_type = NT_PRXFPREG, | 1420 | .core_note_type = NT_PRXFPREG, |
1418 | .n = sizeof(struct user_i387_struct) / sizeof(u32), | 1421 | .n = sizeof(struct user32_fxsr_struct) / sizeof(u32), |
1419 | .size = sizeof(u32), .align = sizeof(u32), | 1422 | .size = sizeof(u32), .align = sizeof(u32), |
1420 | .active = xfpregs_active, .get = xfpregs_get, .set = xfpregs_set | 1423 | .active = xfpregs_active, .get = xfpregs_get, .set = xfpregs_set |
1421 | }, | 1424 | }, |