← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1536076] Re: Missing export symbol for mtrr_add and mtrr_del

 

I'm not sure what happened to this patch as there is no commit in the
repo. Is it still required ?

** Changed in: linux (Ubuntu Xenial)
       Status: Fix Committed => Invalid

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1536076

Title:
  Missing export symbol for mtrr_add and mtrr_del

Status in linux package in Ubuntu:
  Invalid
Status in linux source package in Xenial:
  Invalid

Bug description:
  I try to use the 4.4 Kernel from the ppa git.

  So if i complie the current fglrx driver all  is fine but on modules
  load i get the error that the symbols

  mtrr_del
  mtrr_add

  are missing. 
  I saw a patch for 4.3 for Nvidia facing the same issue. 

  Could you integrate the patch in the kernel ?

  Here is the patch for 
  diff --git a/arch/x86/kernel/cpu/mtrr/main.c b/arch/x86/kernel/cpu/mtrr/main.c
  index 5c3d149..ad7471c 100644
  --- a/arch/x86/kernel/cpu/mtrr/main.c
  +++ b/arch/x86/kernel/cpu/mtrr/main.c
  @@ -448,7 +448,7 @@ int mtrr_add(unsigned long base, unsigned long size, unsigned int type,
          return mtrr_add_page(base >> PAGE_SHIFT, size >> PAGE_SHIFT, type,
                               increment);
   }
  -
  +EXPORT_SYMBOL(mtrr_add);
   /**
    * mtrr_del_page - delete a memory type region
    * @reg: Register returned by mtrr_add
  @@ -536,7 +536,7 @@ int mtrr_del(int reg, unsigned long base, unsigned long size)
                  return -EINVAL;
          return mtrr_del_page(reg, base >> PAGE_SHIFT, size >> PAGE_SHIFT);
   }
  -
  +EXPORT_SYMBOL(mtrr_del);
   /**
    * arch_phys_wc_add - add a WC MTRR and handle errors if PAT is unavailable
    * @base: Physical base address

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1536076/+subscriptions