X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=linux-wistron-nx.patch;h=bbd6a92354a482b1001495179f559c7e05aa43e5;hb=a75c2bd5da315782c32b22ad6b08ad6b1d1607be;hp=1ab8ed326ae69818161d1c9a9391edb4d9791f0c;hpb=28c4ae14bc229175bca1b38f3b83eb3b1e3d91b6;p=packages%2Fkernel.git diff --git a/linux-wistron-nx.patch b/linux-wistron-nx.patch index 1ab8ed32..bbd6a923 100644 --- a/linux-wistron-nx.patch +++ b/linux-wistron-nx.patch @@ -4,7 +4,7 @@ #include #include #include -+#include ++#include /* How often we poll keys - msecs */ #define POLL_INTERVAL_DEFAULT 500 /* when idle */ @@ -24,3 +24,13 @@ } /* The Windows driver maps 0x10000 bytes, we keep only one page... */ bios_data_map_base = ioremap(0x400, 0xc00); +--- linux-5.4/arch/x86/mm/pageattr.c~ 2019-11-25 01:32:01.000000000 +0100 ++++ linux-5.4/arch/x86/mm/pageattr.c 2019-11-27 06:38:21.886578313 +0100 +@@ -1885,6 +1885,7 @@ int set_memory_x(unsigned long addr, int + + return change_page_attr_clear(&addr, numpages, __pgprot(_PAGE_NX), 0); + } ++EXPORT_SYMBOL(set_memory_x); + + int set_memory_nx(unsigned long addr, int numpages) + {