[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090102204649.GB21988@elte.hu>
Date: Fri, 2 Jan 2009 21:46:49 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Roland Dreier <rdreier@...co.com>
Cc: Sam Ravnborg <sam@...nborg.org>, linux-kernel@...r.kernel.org,
Jeremy Fitzhardinge <jeremy.fitzhardinge@...rix.com>,
FUJITA Tomonori <fujita.tomonori@....ntt.co.jp>
Subject: Re: swiotlb: Add missing __init annotations
* Roland Dreier <rdreier@...co.com> wrote:
> > > @@ -186,7 +186,7 @@ static void swiotlb_print_info(unsigned long bytes)
> > > * Statically reserve bounce buffer space and initialize bounce buffer data
> > > * structures for the software IO TLB used to implement the DMA API.
> > > */
> > > -void __init
> > > +void __init __weak
> > > swiotlb_init_with_default_size(size_t default_size)
> >
> > This change looks unrealted to __init annotation described in the
> > changelog. Was it intentional?
>
> Yes, that was a thinko -- somehow while reading it I saw the __init
> without __weak as being missing an annotation. Should I resend a fixed
> patch?
no need - so it wasnt needed to make a section warning go away - i.e. your
patch sans the last hunk is tested to solve the problem, right?
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists