lkml.org 
[lkml]   [2005]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.11-rc1-mm2
On Thu, Jan 20, 2005 at 10:57:09AM +0100, Steffen Klassert wrote:
> On Wed, Jan 19, 2005 at 09:38:18PM -0800 or thereabouts, Andrew Morton wrote:
>
> > +kill-softirq_pending.patch
> >
> > Remove softirq_pending(). This breaks net/core/pktgen.c.
>
> net/built-in.o: In function `pktgen_thread_worker':
> /usr/src/linux-2.6.11-rc1-mm2/net/core/pktgen.c:2809: undefined reference to `softirq_pending'
> make: *** [.tmp_vmlinux1] Error 1
>
> The patch below is a compile fix.
>
> Signed-off-by: Steffen Klassert <klassert@mathematik.tu-chemnitz.de>
>
> --- vanilla-2.6.11-rc1-mm2/net/core/pktgen.c Thu Jan 20 10:30:12 2005
> +++ linux-2.6.11-rc1-mm2/net/core/pktgen.c Thu Jan 20 10:26:03 2005
> @@ -2806,7 +2806,7 @@
> tx_since_softirq += pkt_dev->last_ok;
>
> if (tx_since_softirq > max_before_softirq) {
> - if(softirq_pending(smp_processor_id()))
> + if(local_softirq_pending())

That patch is fine, thanks.
-
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 14:09    [from the cache]
©2003-2011 Jasper Spaans