lkml.org 
[lkml]   [2012]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] fix modpost when CONFIG_ALPHA_TSUNAMI=y
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.



\
 
 \ /
  Last update: 2012-02-18 23:43    [W:0.033 / U:0.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site