|
@@ -599,10 +599,10 @@ void __math_state_restore(void)
|
|
* Careful.. There are problems with IBM-designed IRQ13 behaviour.
|
|
* Careful.. There are problems with IBM-designed IRQ13 behaviour.
|
|
* Don't touch unless you *really* know how it works.
|
|
* Don't touch unless you *really* know how it works.
|
|
*
|
|
*
|
|
- * Must be called with kernel preemption disabled (in this case,
|
|
|
|
- * local interrupts are disabled at the call-site in entry.S).
|
|
|
|
|
|
+ * Must be called with kernel preemption disabled (eg with local
|
|
|
|
+ * local interrupts as in the case of do_device_not_available).
|
|
*/
|
|
*/
|
|
-asmlinkage void math_state_restore(void)
|
|
|
|
|
|
+void math_state_restore(void)
|
|
{
|
|
{
|
|
struct thread_info *thread = current_thread_info();
|
|
struct thread_info *thread = current_thread_info();
|
|
struct task_struct *tsk = thread->task;
|
|
struct task_struct *tsk = thread->task;
|