lkml.org 
[lkml]   [2001]   [May]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: unsigned long ioremap()?
I apologize for ccing this to people not on the kernel list too, but i
hope the more expert heads, the better ...

Can i do a

if (softirq_active(cpu) & softirq_mask(cpu))
{
do_softirq();
}

at the end of smp_apic_timer_interrupt ? i mean

smp_apic_timer_interrupt ()
{
irq_enter
All it does normally.
irq_exit
if (softirq_active(cpu) & softirq_mask(cpu))
{
do_softirq();
}
}

My understanding is that smp_apic_timer_interrupt is very similar to
do_IRQ but it knows which function to call already,
and since the do_IRQ does this at the end of its execution, it
should be ok here too. Am i ok in doing this ? basically the function
smp_apic_timer_interrupt activates a tasklet, that i would like done here
at this point, executed as a tasklet itself. If this is not ok, can
someone suggest something for acheiving this ?

Thanks for any help!

CP

-
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/

\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.094 / U:0.912 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site