/[packages]/cauldron/fglrx/current/SOURCES/fglrx-replace_acpi_table_handler.patch
ViewVC logotype

Contents of /cauldron/fglrx/current/SOURCES/fglrx-replace_acpi_table_handler.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 558928 - (show annotations) (download)
Thu Dec 19 20:15:33 2013 UTC (10 years, 3 months ago) by tmb
File size: 1030 byte(s)
update to 13.251 (Catalyst 13.12)
1 From 848e235831aba4579644993816381f97f30a034c Mon Sep 17 00:00:00 2001
2 From: Alberto Milone <alberto.milone@canonical.com>
3 Date: Thu, 19 Dec 2013 12:42:48 +0100
4 Subject: [PATCH 1/1] kcl_acpi.c: use acpi_tbl_table_handler instead of
5 acpi_table_handler with Linux >= 3.9.1
6
7 ---
8 common/lib/modules/fglrx/build_mod/kcl_acpi.c | 6 +++++-
9 1 file changed, 5 insertions(+), 1 deletion(-)
10
11 diff --git fglrx-13.251/common/lib/modules/fglrx/build_mod/kcl_acpi.c fglrx-13.251/common/lib/modules/fglrx/build_mod/kcl_acpi.c
12 index d875bf9..8c1653a 100755
13 --- fglrx-13.251/common/lib/modules/fglrx/build_mod/kcl_acpi.c
14 +++ fglrx-13.251/common/lib/modules/fglrx/build_mod/kcl_acpi.c
15 @@ -995,7 +995,11 @@ int ATI_API_CALL KCL_ACPI_ParseTable(char *id, KCL_ACPI_IntCallbackHandle handle
16 #endif
17 {
18 return KCL_ACPI_ERROR;
19 - }
20 + }
21 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,9,1)
22 + ((acpi_tbl_table_handler)handler)(hdr);
23 +#else
24 ((acpi_table_handler)handler)(hdr);
25 +#endif
26 return KCL_ACPI_OK;
27 }
28 --
29 1.7.9.5
30

  ViewVC Help
Powered by ViewVC 1.1.30