summaryrefslogtreecommitdiff
path: root/include/asm-sh/processor_64.h
AgeCommit message (Collapse)AuthorFilesLines
2008-03-26sh: Fix occasional FPU register corruption under preempt.Paul Mundt1-0/+1
Presently with preempt enabled there's the possibility to be preempted after the TIF_USEDFPU test and the register save, leading to bogus state post-__switch_to(). Use an explicit preempt_disable()/enable() pair around unlazy_fpu()/clear_fpu() to avoid this. Follows the x86 change. Reported-by: Takuo Koguchi <takuo.koguchi.sw@hitachi.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-02-08aout: move STACK_TOP[_MAX] to asm/processor.hDavid Howells1-0/+3
Move STACK_TOP[_MAX] out of asm/a.out.h and into asm/processor.h as they're required whether or not A.OUT format is available. Signed-off-by: David Howells <dhowells@redhat.com> Cc: <linux-arch@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-01-28sh: Bring the SH-5 FPU in line with the SH-4 FPU API.Paul Mundt1-16/+0
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Stubs for fpu disabled on SH-5.Paul Mundt1-0/+5
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Have SH-5 provide an {en,dis}able_fpu() impl.Paul Mundt1-2/+13
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: More SH-5 cpuinfo tidying.Paul Mundt1-4/+6
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: SH-5 also uses the ASID cache.Paul Mundt1-6/+2
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Split out processor.h in to _32 and _64 variants.Paul Mundt1-0/+277
Signed-off-by: Paul Mundt <lethal@linux-sh.org>