diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-10-16 04:27:16 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 12:43:07 -0400 |
commit | e8012b584fac3a1bb70cd896612c12086d28e9ff (patch) | |
tree | 0ec406be2ad1878b601c6e97ad6216764ddae942 /include/asm-um/page.h | |
parent | a5f6096c805e6d2fa03ee932f8c70af34cee41a0 (diff) |
uml: ptrace floating point fixes
Handle floating point state better in ptrace. The code now correctly
distinguishes between PTRACE_[GS]ETFPREGS and PTRACE_[GS]ETFPXREGS. The FPX
requests get handed off to arch-specific code because that's not generic.
get_fpregs, set_fpregs, set_fpregs, and set_fpxregs needed real
implementations.
Something here exposed a missing include in asm/page.h, which needed
linux/types.h in order to get gfp_t, so that's fixed here.
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-um/page.h')
-rw-r--r-- | include/asm-um/page.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-um/page.h b/include/asm-um/page.h index 8e310d81e5b4..4b424c75fca5 100644 --- a/include/asm-um/page.h +++ b/include/asm-um/page.h | |||
@@ -9,6 +9,7 @@ | |||
9 | 9 | ||
10 | struct page; | 10 | struct page; |
11 | 11 | ||
12 | #include <linux/types.h> | ||
12 | #include <asm/vm-flags.h> | 13 | #include <asm/vm-flags.h> |
13 | 14 | ||
14 | /* PAGE_SHIFT determines the page size */ | 15 | /* PAGE_SHIFT determines the page size */ |