Re: [PATCH] Clean up x86 interrupt entry code

Brian Gerst (bgerst@didntduck.org)
Sat, 06 Apr 2002 15:15:49 -0500


Robert Love wrote:
> On Sat, 2002-04-06 at 15:03, Brian Gerst wrote:
>
>
>>-ENTRY(ret_from_intr)
>>- GET_THREAD_INFO(%ebx)
>>- init_ret_intr
>>+ret_from_intr:
>>+ preempt_stop
>>+ DEC_PRE_COUNT(%ebx)
>
>
> You removed GET_THREAD_INFO and there does not seem to be a
> replacement. Is there some assurance *thread_info is now pointed to by
> %ebx here?
>
> Robert Love
>

Yes. It is set before the INC_PRE_COUNT and since it is preserved by
called functions it is still set when it gets to ret_from_intr.

-- 

Brian Gerst

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/