On Tue, Aug 13, 2013 at 05:47:53PM +0300, Arik Nemtsov wrote:
> On Mon, Aug 12, 2013 at 7:24 PM, Hauke Mehrtens <[email protected]> wrote:
> > adding the LINUX_BACKPORT() line should be enough to rename it
> > everywhere in backprots, so you do not have to modify
> > backport/compat/backport-3.11.c or manually add the prefix anywhere else.
> >
> > Could you try if this fixes your problems with phys_wc_to_mtrr_index:
> >
> >  ...
> > +#define phys_wc_to_mtrr_index LINUX_BACKPORT(phys_wc_to_mtrr_index)
> >  #ifdef CONFIG_MTRR
> >  extern int phys_wc_to_mtrr_index(int handle);
> >  #else
> >  static inline int phys_wc_to_mtrr_index(int handle)
> >  {
> >         return -1;
> >  }
> >  #endif /* CONFIG_MTRR */
> >
> 
> Thanks. It seems to do the trick. The attached patch solves the issue.
> Luis - any comments on this one?

I welcome a new patch in proper form with a Signed-off-by by the author.

  Luis
--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to