[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100924163214.GA29252@linux-mips.org>
Date: Fri, 24 Sep 2010 17:32:14 +0100
From: Ralf Baechle <ralf@...ux-mips.org>
To: David Daney <ddaney@...iumnetworks.com>
Cc: Sergei Shtylyov <sshtylyov@...sta.com>, linux-mips@...ux-mips.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 8/9] MIPS: Add a platform hook for swiotlb setup.
On Fri, Sep 24, 2010 at 09:13:54AM -0700, David Daney wrote:
> >>+#ifdef CONFIG_SWIOTLB
> >>+ plat_swiotlb_setup();
> >>+#endif
> >
> >We should avoid #ifdef's in function bodies. Why not defile an empty
> >'inline' in the header above if CONFIG_SWIOTLB is not defined?
> >
>
> Good idea. I will wait several days and collect any more feedback
> and generate a new patch set.
I'd also wait for a few more days so interested parties outside of the MIPS
world will have a chance to comment.
Ralf
--
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