parent
cb59ab0fe4
commit
783532482d
2 changed files with 12 additions and 1 deletions
11
srcpkgs/acpi_call-dkms/patches/linux4.12.patch
Normal file
11
srcpkgs/acpi_call-dkms/patches/linux4.12.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- acpi_call.c.orig 2017-01-03 17:17:55.000000000 +0000
|
||||||
|
+++ acpi_call.c 2017-07-15 00:28:28.259960007 +0000
|
||||||
|
@@ -7,7 +7,7 @@
|
||||||
|
#include <linux/version.h>
|
||||||
|
#include <linux/proc_fs.h>
|
||||||
|
#include <linux/slab.h>
|
||||||
|
-#include <asm/uaccess.h>
|
||||||
|
+#include <linux/uaccess.h>
|
||||||
|
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 17, 0)
|
||||||
|
#include <linux/acpi.h>
|
||||||
|
#else
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'acpi_call-dkms'
|
# Template file for 'acpi_call-dkms'
|
||||||
pkgname=acpi_call-dkms
|
pkgname=acpi_call-dkms
|
||||||
version=1.2.0
|
version=1.2.0
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc=acpi_call-${version}
|
wrksrc=acpi_call-${version}
|
||||||
only_for_archs="i686 x86_64 x86_64-musl"
|
only_for_archs="i686 x86_64 x86_64-musl"
|
||||||
short_desc="Kernel module allowing calls to ACPI methods through /proc/acpi/call"
|
short_desc="Kernel module allowing calls to ACPI methods through /proc/acpi/call"
|
||||||
|
|
Loading…
Reference in a new issue