diff options
author | Akira Takeuchi <takeuchi.akr@jp.panasonic.com> | 2010-10-27 12:28:52 -0400 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2010-10-27 12:28:52 -0400 |
commit | 278d91c4609d55202c1e63d5fc5f01466cc7bbab (patch) | |
tree | 8b0c863837508959430c1741e2e5a2d37d2890d4 /arch/mn10300/include/asm/processor.h | |
parent | 965ea4bbb9ae926358273368144ba838c561bc38 (diff) |
MN10300: Make the FPU operate in non-lazy mode under SMP
Make the FPU operate in non-lazy mode under SMP so that when the process that
is currently using the FPU migrates to a different CPU, we don't have to ping
its previous CPU to flush the FPU context.
Signed-off-by: Akira Takeuchi <takeuchi.akr@jp.panasonic.com>
Signed-off-by: Kiyoshi Owada <owada.kiyoshi@jp.panasonic.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'arch/mn10300/include/asm/processor.h')
-rw-r--r-- | arch/mn10300/include/asm/processor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mn10300/include/asm/processor.h b/arch/mn10300/include/asm/processor.h index fd96c180e649..0032fc76c8ba 100644 --- a/arch/mn10300/include/asm/processor.h +++ b/arch/mn10300/include/asm/processor.h | |||
@@ -95,6 +95,7 @@ struct thread_struct { | |||
95 | struct pt_regs *__frame; | 95 | struct pt_regs *__frame; |
96 | unsigned long fpu_flags; | 96 | unsigned long fpu_flags; |
97 | #define THREAD_USING_FPU 0x00000001 /* T if this task is using the FPU */ | 97 | #define THREAD_USING_FPU 0x00000001 /* T if this task is using the FPU */ |
98 | #define THREAD_HAS_FPU 0x00000002 /* T if this task owns the FPU right now */ | ||
98 | struct fpu_state_struct fpu_state; | 99 | struct fpu_state_struct fpu_state; |
99 | }; | 100 | }; |
100 | 101 | ||