summaryrefslogtreecommitdiffstats
path: root/include/asm-sh/processor_64.h
Commit message (Collapse)AuthorAgeFilesLines
* sh: Fix occasional FPU register corruption under preempt.Paul Mundt2008-03-261-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>
* aout: move STACK_TOP[_MAX] to asm/processor.hDavid Howells2008-02-081-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>
* sh: Bring the SH-5 FPU in line with the SH-4 FPU API.Paul Mundt2008-01-281-16/+0
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Stubs for fpu disabled on SH-5.Paul Mundt2008-01-281-0/+5
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Have SH-5 provide an {en,dis}able_fpu() impl.Paul Mundt2008-01-281-2/+13
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: More SH-5 cpuinfo tidying.Paul Mundt2008-01-281-4/+6
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: SH-5 also uses the ASID cache.Paul Mundt2008-01-281-6/+2
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Split out processor.h in to _32 and _64 variants.Paul Mundt2008-01-281-0/+277
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
OpenPOWER on IntegriCloud