Re: [PATCH] fix modpost when CONFIG_ALPHA_TSUNAMI=y

From: Jim Faulkner
Date: Sat Feb 18 2012 - 17:39:54 EST


On Sun, Feb 19, 2012 at 11:29:34AM +1300, Michael Cree wrote:
> >
> > +#include <linux/module.h>
>
> Wouldn't <linux/exports.h> be better? I seem to recall that this was a
> problem with EXPORT_SYMBOL not being defined and I see my own personal
> fix (which I had completely forgotten to send upstream) was to include
> <linux/exports.h>

core_marvel.c and core_titan.c both include <linux/module.h> in the
mainline kernel, which is why I thought it was the appropriate fix for
core_tsunami.c.

--
To unsubscribe from this list: send the line "unsubscribe linux-alpha" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html