summarylogtreecommitdiffstats
path: root/linux-4.0.patch
diff options
context:
space:
mode:
authorAlex Wiggins2017-05-06 14:59:23 +0100
committerAlex Wiggins2017-05-06 14:59:23 +0100
commit3056006de4cb8359f9a8d0e82bc528e3ed0c1fe0 (patch)
treeef61caac6c46c8d173728b64f19d98864a963c71 /linux-4.0.patch
parent76c1e2710428f2e48e0b24c178afa39b7d89b95d (diff)
downloadaur-3056006de4cb8359f9a8d0e82bc528e3ed0c1fe0.tar.gz
Add checksum for x86 version and remove unused patch files
Diffstat (limited to 'linux-4.0.patch')
-rw-r--r--linux-4.0.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/linux-4.0.patch b/linux-4.0.patch
deleted file mode 100644
index 3a313729274..00000000000
--- a/linux-4.0.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-diff -durN /oss/build/osscore.c /oss/build/osscore.c
---- /oss/build/osscore.c 2014-09-04 00:15:31.000000000 +0200
-+++ /oss/build/osscore.c 2015-04-25 23:16:19.502116503 +0200
-@@ -1950,8 +1950,13 @@
- }
- else
- {
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(4,0,0)
- flags[1] = read_cr4 ();
- write_cr4 (flags[1] | 0x600); /* Set OSFXSR & OSXMMEXCEPT */
-+#else
-+ flags[1] = __read_cr4 ();
-+ __write_cr4 (flags[1] | 0x600); /* Set OSFXSR & OSXMMEXCEPT */
-+#endif
- FX_SAVE (envbuf);
- asm ("fninit");
- asm ("fwait");
-@@ -1971,7 +1976,11 @@
- else
- {
- FX_RESTORE (envbuf);
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(4,0,0)
- write_cr4 (flags[1]); /* Restore cr4 */
-+#else
-+ __write_cr4 (flags[1]); /* Restore cr4 */
-+#endif
- }
- write_cr0 (flags[0]); /* Restore cr0 */
- }