Missing export symbol for mtrr_add and mtrr_del
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
Medium
|
Tim Gardner | ||
Xenial |
Invalid
|
Medium
|
Tim Gardner |
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/
index 5c3d149..ad7471c 100644
--- a/arch/
+++ b/arch/
@@ -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,
}
-
+EXPORT_
/**
* 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 mtrr_del_page(reg, base >> PAGE_SHIFT, size >> PAGE_SHIFT);
}
-
+EXPORT_
/**
* arch_phys_wc_add - add a WC MTRR and handle errors if PAT is unavailable
* @base: Physical base address
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Xenial): | |
assignee: | nobody → Tim Gardner (timg-tpi) |
status: | Confirmed → Fix Committed |
This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 1536076
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.