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?

Regards,
Arik

Attachment: 0001-backports-rename-some-mem-functions-to-not-break-cus.patch
Description: Binary data

Reply via email to