diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/acpi/acexcep.h | 2 | ||||
-rw-r--r-- | include/acpi/acnames.h | 2 | ||||
-rw-r--r-- | include/acpi/acoutput.h | 2 | ||||
-rw-r--r-- | include/acpi/acpi.h | 2 | ||||
-rw-r--r-- | include/acpi/acpi_bus.h | 6 | ||||
-rw-r--r-- | include/acpi/acpiosxf.h | 6 | ||||
-rw-r--r-- | include/acpi/acpixf.h | 4 | ||||
-rw-r--r-- | include/acpi/acrestyp.h | 4 | ||||
-rw-r--r-- | include/acpi/actbl.h | 2 | ||||
-rw-r--r-- | include/acpi/actbl1.h | 2 | ||||
-rw-r--r-- | include/acpi/actbl2.h | 43 | ||||
-rw-r--r-- | include/acpi/actypes.h | 34 | ||||
-rw-r--r-- | include/acpi/platform/acenv.h | 6 | ||||
-rw-r--r-- | include/acpi/platform/acgcc.h | 2 | ||||
-rw-r--r-- | include/acpi/platform/aclinux.h | 2 | ||||
-rw-r--r-- | include/acpi/processor.h | 42 |
16 files changed, 102 insertions, 59 deletions
diff --git a/include/acpi/acexcep.h b/include/acpi/acexcep.h index 473d584b1d31..5b2e5e80ecb0 100644 --- a/include/acpi/acexcep.h +++ b/include/acpi/acexcep.h | |||
@@ -5,7 +5,7 @@ | |||
5 | *****************************************************************************/ | 5 | *****************************************************************************/ |
6 | 6 | ||
7 | /* | 7 | /* |
8 | * Copyright (C) 2000 - 2008, Intel Corp. | 8 | * Copyright (C) 2000 - 2010, Intel Corp. |
9 | * All rights reserved. | 9 | * All rights reserved. |
10 | * | 10 | * |
11 | * Redistribution and use in source and binary forms, with or without | 11 | * Redistribution and use in source and binary forms, with or without |
diff --git a/include/acpi/acnames.h b/include/acpi/acnames.h index c1343a9265fa..9cf736ea4691 100644 --- a/include/acpi/acnames.h +++ b/include/acpi/acnames.h | |||
@@ -5,7 +5,7 @@ | |||
5 | *****************************************************************************/ | 5 | *****************************************************************************/ |
6 | 6 | ||
7 | /* | 7 | /* |
8 | * Copyright (C) 2000 - 2008, Intel Corp. | 8 | * Copyright (C) 2000 - 2010, Intel Corp. |
9 | * All rights reserved. | 9 | * All rights reserved. |
10 | * | 10 | * |
11 | * Redistribution and use in source and binary forms, with or without | 11 | * Redistribution and use in source and binary forms, with or without |
diff --git a/include/acpi/acoutput.h b/include/acpi/acoutput.h index d814da4b5365..d7726685797e 100644 --- a/include/acpi/acoutput.h +++ b/include/acpi/acoutput.h | |||
@@ -5,7 +5,7 @@ | |||
5 | *****************************************************************************/ | 5 | *****************************************************************************/ |
6 | 6 | ||
7 | /* | 7 | /* |
8 | * Copyright (C) 2000 - 2008, Intel Corp. | 8 | * Copyright (C) 2000 - 2010, Intel Corp. |
9 | * All rights reserved. | 9 | * All rights reserved. |
10 | * | 10 | * |
11 | * Redistribution and use in source and binary forms, with or without | 11 | * Redistribution and use in source and binary forms, with or without |
diff --git a/include/acpi/acpi.h b/include/acpi/acpi.h index 472b7bf0c5d4..a091cabca4b1 100644 --- a/include/acpi/acpi.h +++ b/include/acpi/acpi.h | |||
@@ -5,7 +5,7 @@ | |||
5 | *****************************************************************************/ | 5 | *****************************************************************************/ |
6 | 6 | ||
7 | /* | 7 | /* |
8 | * Copyright (C) 2000 - 2008, Intel Corp. | 8 | * Copyright (C) 2000 - 2010, Intel Corp. |
9 | * All rights reserved. | 9 | * All rights reserved. |
10 | * | 10 | * |
11 | * Redistribution and use in source and binary forms, with or without | 11 | * Redistribution and use in source and binary forms, with or without |
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h index 54508ccea023..7bf83ddf82e0 100644 --- a/include/acpi/acpi_bus.h +++ b/include/acpi/acpi_bus.h | |||
@@ -252,8 +252,8 @@ struct acpi_device_wakeup_state { | |||
252 | 252 | ||
253 | struct acpi_device_wakeup { | 253 | struct acpi_device_wakeup { |
254 | acpi_handle gpe_device; | 254 | acpi_handle gpe_device; |
255 | acpi_integer gpe_number; | 255 | u64 gpe_number; |
256 | acpi_integer sleep_state; | 256 | u64 sleep_state; |
257 | struct acpi_handle_list resources; | 257 | struct acpi_handle_list resources; |
258 | struct acpi_device_wakeup_state state; | 258 | struct acpi_device_wakeup_state state; |
259 | struct acpi_device_wakeup_flags flags; | 259 | struct acpi_device_wakeup_flags flags; |
@@ -383,7 +383,7 @@ struct acpi_pci_root { | |||
383 | }; | 383 | }; |
384 | 384 | ||
385 | /* helper */ | 385 | /* helper */ |
386 | acpi_handle acpi_get_child(acpi_handle, acpi_integer); | 386 | acpi_handle acpi_get_child(acpi_handle, u64); |
387 | int acpi_is_root_bridge(acpi_handle); | 387 | int acpi_is_root_bridge(acpi_handle); |
388 | acpi_handle acpi_get_pci_rootbridge_handle(unsigned int, unsigned int); | 388 | acpi_handle acpi_get_pci_rootbridge_handle(unsigned int, unsigned int); |
389 | struct acpi_pci_root *acpi_pci_find_root(acpi_handle handle); | 389 | struct acpi_pci_root *acpi_pci_find_root(acpi_handle handle); |
diff --git a/include/acpi/acpiosxf.h b/include/acpi/acpiosxf.h index eb0e7189075f..b396854b83b0 100644 --- a/include/acpi/acpiosxf.h +++ b/include/acpi/acpiosxf.h | |||
@@ -8,7 +8,7 @@ | |||
8 | *****************************************************************************/ | 8 | *****************************************************************************/ |
9 | 9 | ||
10 | /* | 10 | /* |
11 | * Copyright (C) 2000 - 2008, Intel Corp. | 11 | * Copyright (C) 2000 - 2010, Intel Corp. |
12 | * All rights reserved. | 12 | * All rights reserved. |
13 | * | 13 | * |
14 | * Redistribution and use in source and binary forms, with or without | 14 | * Redistribution and use in source and binary forms, with or without |
@@ -196,7 +196,7 @@ acpi_os_hotplug_execute(acpi_osd_exec_callback function, void *context); | |||
196 | 196 | ||
197 | void acpi_os_wait_events_complete(void *context); | 197 | void acpi_os_wait_events_complete(void *context); |
198 | 198 | ||
199 | void acpi_os_sleep(acpi_integer milliseconds); | 199 | void acpi_os_sleep(u64 milliseconds); |
200 | 200 | ||
201 | void acpi_os_stall(u32 microseconds); | 201 | void acpi_os_stall(u32 microseconds); |
202 | 202 | ||
@@ -227,7 +227,7 @@ acpi_os_read_pci_configuration(struct acpi_pci_id *pci_id, | |||
227 | 227 | ||
228 | acpi_status | 228 | acpi_status |
229 | acpi_os_write_pci_configuration(struct acpi_pci_id *pci_id, | 229 | acpi_os_write_pci_configuration(struct acpi_pci_id *pci_id, |
230 | u32 reg, acpi_integer value, u32 width); | 230 | u32 reg, u64 value, u32 width); |
231 | 231 | ||
232 | /* | 232 | /* |
233 | * Interim function needed for PCI IRQ routing | 233 | * Interim function needed for PCI IRQ routing |
diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h index 3988f93b9c66..4447a0461bae 100644 --- a/include/acpi/acpixf.h +++ b/include/acpi/acpixf.h | |||
@@ -6,7 +6,7 @@ | |||
6 | *****************************************************************************/ | 6 | *****************************************************************************/ |
7 | 7 | ||
8 | /* | 8 | /* |
9 | * Copyright (C) 2000 - 2008, Intel Corp. | 9 | * Copyright (C) 2000 - 2010, Intel Corp. |
10 | * All rights reserved. | 10 | * All rights reserved. |
11 | * | 11 | * |
12 | * Redistribution and use in source and binary forms, with or without | 12 | * Redistribution and use in source and binary forms, with or without |
@@ -47,7 +47,7 @@ | |||
47 | 47 | ||
48 | /* Current ACPICA subsystem version in YYYYMMDD format */ | 48 | /* Current ACPICA subsystem version in YYYYMMDD format */ |
49 | 49 | ||
50 | #define ACPI_CA_VERSION 0x20091214 | 50 | #define ACPI_CA_VERSION 0x20100121 |
51 | 51 | ||
52 | #include "actypes.h" | 52 | #include "actypes.h" |
53 | #include "actbl.h" | 53 | #include "actbl.h" |
diff --git a/include/acpi/acrestyp.h b/include/acpi/acrestyp.h index 9ffe00feada6..e5526354ba5e 100644 --- a/include/acpi/acrestyp.h +++ b/include/acpi/acrestyp.h | |||
@@ -5,7 +5,7 @@ | |||
5 | *****************************************************************************/ | 5 | *****************************************************************************/ |
6 | 6 | ||
7 | /* | 7 | /* |
8 | * Copyright (C) 2000 - 2008, Intel Corp. | 8 | * Copyright (C) 2000 - 2010, Intel Corp. |
9 | * All rights reserved. | 9 | * All rights reserved. |
10 | * | 10 | * |
11 | * Redistribution and use in source and binary forms, with or without | 11 | * Redistribution and use in source and binary forms, with or without |
@@ -397,7 +397,7 @@ struct acpi_resource { | |||
397 | struct acpi_pci_routing_table { | 397 | struct acpi_pci_routing_table { |
398 | u32 length; | 398 | u32 length; |
399 | u32 pin; | 399 | u32 pin; |
400 | acpi_integer address; /* here for 64-bit alignment */ | 400 | u64 address; /* here for 64-bit alignment */ |
401 | u32 source_index; | 401 | u32 source_index; |
402 | char source[4]; /* pad to 64 bits so sizeof() works in all cases */ | 402 | char source[4]; /* pad to 64 bits so sizeof() works in all cases */ |
403 | }; | 403 | }; |
diff --git a/include/acpi/actbl.h b/include/acpi/actbl.h index 1b6587952604..ad2001683ba7 100644 --- a/include/acpi/actbl.h +++ b/include/acpi/actbl.h | |||
@@ -5,7 +5,7 @@ | |||
5 | *****************************************************************************/ | 5 | *****************************************************************************/ |
6 | 6 | ||
7 | /* | 7 | /* |
8 | * Copyright (C) 2000 - 2008, Intel Corp. | 8 | * Copyright (C) 2000 - 2010, Intel Corp. |
9 | * All rights reserved. | 9 | * All rights reserved. |
10 | * | 10 | * |
11 | * Redistribution and use in source and binary forms, with or without | 11 | * Redistribution and use in source and binary forms, with or without |
diff --git a/include/acpi/actbl1.h b/include/acpi/actbl1.h index 0b9b430b092b..c637b75b9f3f 100644 --- a/include/acpi/actbl1.h +++ b/include/acpi/actbl1.h | |||
@@ -5,7 +5,7 @@ | |||
5 | *****************************************************************************/ | 5 | *****************************************************************************/ |
6 | 6 | ||
7 | /* | 7 | /* |
8 | * Copyright (C) 2000 - 2008, Intel Corp. | 8 | * Copyright (C) 2000 - 2010, Intel Corp. |
9 | * All rights reserved. | 9 | * All rights reserved. |
10 | * | 10 | * |
11 | * Redistribution and use in source and binary forms, with or without | 11 | * Redistribution and use in source and binary forms, with or without |
diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h index 6f3dce9991e1..5b02e307bff3 100644 --- a/include/acpi/actbl2.h +++ b/include/acpi/actbl2.h | |||
@@ -1,3 +1,46 @@ | |||
1 | /****************************************************************************** | ||
2 | * | ||
3 | * Name: actbl2.h - ACPI Specification Revision 2.0 Tables | ||
4 | * | ||
5 | *****************************************************************************/ | ||
6 | |||
7 | /* | ||
8 | * Copyright (C) 2000 - 2010, Intel Corp. | ||
9 | * All rights reserved. | ||
10 | * | ||
11 | * Redistribution and use in source and binary forms, with or without | ||
12 | * modification, are permitted provided that the following conditions | ||
13 | * are met: | ||
14 | * 1. Redistributions of source code must retain the above copyright | ||
15 | * notice, this list of conditions, and the following disclaimer, | ||
16 | * without modification. | ||
17 | * 2. Redistributions in binary form must reproduce at minimum a disclaimer | ||
18 | * substantially similar to the "NO WARRANTY" disclaimer below | ||
19 | * ("Disclaimer") and any redistribution must be conditioned upon | ||
20 | * including a substantially similar Disclaimer requirement for further | ||
21 | * binary redistribution. | ||
22 | * 3. Neither the names of the above-listed copyright holders nor the names | ||
23 | * of any contributors may be used to endorse or promote products derived | ||
24 | * from this software without specific prior written permission. | ||
25 | * | ||
26 | * Alternatively, this software may be distributed under the terms of the | ||
27 | * GNU General Public License ("GPL") version 2 as published by the Free | ||
28 | * Software Foundation. | ||
29 | * | ||
30 | * NO WARRANTY | ||
31 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
32 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
33 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR | ||
34 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
35 | * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
36 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||
37 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
38 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, | ||
39 | * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING | ||
40 | * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | ||
41 | * POSSIBILITY OF SUCH DAMAGES. | ||
42 | */ | ||
43 | |||
1 | #ifndef __ACTBL2_H__ | 44 | #ifndef __ACTBL2_H__ |
2 | #define __ACTBL2_H__ | 45 | #define __ACTBL2_H__ |
3 | 46 | ||
diff --git a/include/acpi/actypes.h b/include/acpi/actypes.h index 73af40863371..3f08e64962f8 100644 --- a/include/acpi/actypes.h +++ b/include/acpi/actypes.h | |||
@@ -5,7 +5,7 @@ | |||
5 | *****************************************************************************/ | 5 | *****************************************************************************/ |
6 | 6 | ||
7 | /* | 7 | /* |
8 | * Copyright (C) 2000 - 2008, Intel Corp. | 8 | * Copyright (C) 2000 - 2010, Intel Corp. |
9 | * All rights reserved. | 9 | * All rights reserved. |
10 | * | 10 | * |
11 | * Redistribution and use in source and binary forms, with or without | 11 | * Redistribution and use in source and binary forms, with or without |
@@ -385,19 +385,6 @@ union uint64_overlay { | |||
385 | struct uint64_struct part; | 385 | struct uint64_struct part; |
386 | }; | 386 | }; |
387 | 387 | ||
388 | struct uint32_struct { | ||
389 | u32 lo; | ||
390 | u32 hi; | ||
391 | }; | ||
392 | |||
393 | /* | ||
394 | * Acpi integer width. In ACPI version 1, integers are 32 bits. In ACPI | ||
395 | * version 2, integers are 64 bits. Note that this pertains to the ACPI integer | ||
396 | * type only, not other integers used in the implementation of the ACPI CA | ||
397 | * subsystem. | ||
398 | */ | ||
399 | typedef unsigned long long acpi_integer; | ||
400 | #define ACPI_INTEGER_MAX ACPI_UINT64_MAX | ||
401 | #define ACPI_INTEGER_BIT_SIZE 64 | 388 | #define ACPI_INTEGER_BIT_SIZE 64 |
402 | #define ACPI_MAX_DECIMAL_DIGITS 20 /* 2^64 = 18,446,744,073,709,551,616 */ | 389 | #define ACPI_MAX_DECIMAL_DIGITS 20 /* 2^64 = 18,446,744,073,709,551,616 */ |
403 | 390 | ||
@@ -421,6 +408,19 @@ typedef unsigned long long acpi_integer; | |||
421 | #define ACPI_WAIT_FOREVER 0xFFFF /* u16, as per ACPI spec */ | 408 | #define ACPI_WAIT_FOREVER 0xFFFF /* u16, as per ACPI spec */ |
422 | #define ACPI_DO_NOT_WAIT 0 | 409 | #define ACPI_DO_NOT_WAIT 0 |
423 | 410 | ||
411 | /* | ||
412 | * Obsolete: Acpi integer width. In ACPI version 1 (1996), integers are 32 bits. | ||
413 | * In ACPI version 2 (2000) and later, integers are 64 bits. Note that this | ||
414 | * pertains to the ACPI integer type only, not to other integers used in the | ||
415 | * implementation of the ACPICA subsystem. | ||
416 | * | ||
417 | * 01/2010: This type is obsolete and has been removed from the entire ACPICA | ||
418 | * code base. It remains here for compatibility with device drivers that use | ||
419 | * the type. However, it will be removed in the future. | ||
420 | */ | ||
421 | typedef u64 acpi_integer; | ||
422 | #define ACPI_INTEGER_MAX ACPI_UINT64_MAX | ||
423 | |||
424 | /******************************************************************************* | 424 | /******************************************************************************* |
425 | * | 425 | * |
426 | * Commonly used macros | 426 | * Commonly used macros |
@@ -793,7 +793,7 @@ union acpi_object { | |||
793 | acpi_object_type type; /* See definition of acpi_ns_type for values */ | 793 | acpi_object_type type; /* See definition of acpi_ns_type for values */ |
794 | struct { | 794 | struct { |
795 | acpi_object_type type; /* ACPI_TYPE_INTEGER */ | 795 | acpi_object_type type; /* ACPI_TYPE_INTEGER */ |
796 | acpi_integer value; /* The actual number */ | 796 | u64 value; /* The actual number */ |
797 | } integer; | 797 | } integer; |
798 | 798 | ||
799 | struct { | 799 | struct { |
@@ -937,7 +937,7 @@ typedef | |||
937 | acpi_status(*acpi_adr_space_handler) (u32 function, | 937 | acpi_status(*acpi_adr_space_handler) (u32 function, |
938 | acpi_physical_address address, | 938 | acpi_physical_address address, |
939 | u32 bit_width, | 939 | u32 bit_width, |
940 | acpi_integer * value, | 940 | u64 *value, |
941 | void *handler_context, | 941 | void *handler_context, |
942 | void *region_context); | 942 | void *region_context); |
943 | 943 | ||
@@ -997,7 +997,7 @@ struct acpi_device_info { | |||
997 | u8 highest_dstates[4]; /* _sx_d values: 0xFF indicates not valid */ | 997 | u8 highest_dstates[4]; /* _sx_d values: 0xFF indicates not valid */ |
998 | u8 lowest_dstates[5]; /* _sx_w values: 0xFF indicates not valid */ | 998 | u8 lowest_dstates[5]; /* _sx_w values: 0xFF indicates not valid */ |
999 | u32 current_status; /* _STA value */ | 999 | u32 current_status; /* _STA value */ |
1000 | acpi_integer address; /* _ADR value */ | 1000 | u64 address; /* _ADR value */ |
1001 | struct acpica_device_id hardware_id; /* _HID value */ | 1001 | struct acpica_device_id hardware_id; /* _HID value */ |
1002 | struct acpica_device_id unique_id; /* _UID value */ | 1002 | struct acpica_device_id unique_id; /* _UID value */ |
1003 | struct acpica_device_id_list compatible_id_list; /* _CID list <must be last> */ | 1003 | struct acpica_device_id_list compatible_id_list; /* _CID list <must be last> */ |
diff --git a/include/acpi/platform/acenv.h b/include/acpi/platform/acenv.h index e62f10d9a7d8..c05aeba9e8f0 100644 --- a/include/acpi/platform/acenv.h +++ b/include/acpi/platform/acenv.h | |||
@@ -5,7 +5,7 @@ | |||
5 | *****************************************************************************/ | 5 | *****************************************************************************/ |
6 | 6 | ||
7 | /* | 7 | /* |
8 | * Copyright (C) 2000 - 2008, Intel Corp. | 8 | * Copyright (C) 2000 - 2010, Intel Corp. |
9 | * All rights reserved. | 9 | * All rights reserved. |
10 | * | 10 | * |
11 | * Redistribution and use in source and binary forms, with or without | 11 | * Redistribution and use in source and binary forms, with or without |
@@ -311,8 +311,8 @@ typedef char *va_list; | |||
311 | #define ACPI_MEMCMP(s1,s2,n) acpi_ut_memcmp((const char *)(s1), (const char *)(s2), (acpi_size)(n)) | 311 | #define ACPI_MEMCMP(s1,s2,n) acpi_ut_memcmp((const char *)(s1), (const char *)(s2), (acpi_size)(n)) |
312 | #define ACPI_MEMCPY(d,s,n) (void) acpi_ut_memcpy ((d), (s), (acpi_size)(n)) | 312 | #define ACPI_MEMCPY(d,s,n) (void) acpi_ut_memcpy ((d), (s), (acpi_size)(n)) |
313 | #define ACPI_MEMSET(d,v,n) (void) acpi_ut_memset ((d), (v), (acpi_size)(n)) | 313 | #define ACPI_MEMSET(d,v,n) (void) acpi_ut_memset ((d), (v), (acpi_size)(n)) |
314 | #define ACPI_TOUPPER acpi_ut_to_upper | 314 | #define ACPI_TOUPPER(c) acpi_ut_to_upper ((int) (c)) |
315 | #define ACPI_TOLOWER acpi_ut_to_lower | 315 | #define ACPI_TOLOWER(c) acpi_ut_to_lower ((int) (c)) |
316 | 316 | ||
317 | #endif /* ACPI_USE_SYSTEM_CLIBRARY */ | 317 | #endif /* ACPI_USE_SYSTEM_CLIBRARY */ |
318 | 318 | ||
diff --git a/include/acpi/platform/acgcc.h b/include/acpi/platform/acgcc.h index 6aadbf84ae71..0cd53e3cd1a3 100644 --- a/include/acpi/platform/acgcc.h +++ b/include/acpi/platform/acgcc.h | |||
@@ -5,7 +5,7 @@ | |||
5 | *****************************************************************************/ | 5 | *****************************************************************************/ |
6 | 6 | ||
7 | /* | 7 | /* |
8 | * Copyright (C) 2000 - 2008, Intel Corp. | 8 | * Copyright (C) 2000 - 2010, Intel Corp. |
9 | * All rights reserved. | 9 | * All rights reserved. |
10 | * | 10 | * |
11 | * Redistribution and use in source and binary forms, with or without | 11 | * Redistribution and use in source and binary forms, with or without |
diff --git a/include/acpi/platform/aclinux.h b/include/acpi/platform/aclinux.h index 09469971472f..e5039a2856f8 100644 --- a/include/acpi/platform/aclinux.h +++ b/include/acpi/platform/aclinux.h | |||
@@ -5,7 +5,7 @@ | |||
5 | *****************************************************************************/ | 5 | *****************************************************************************/ |
6 | 6 | ||
7 | /* | 7 | /* |
8 | * Copyright (C) 2000 - 2009, Intel Corp. | 8 | * Copyright (C) 2000 - 2010, Intel Corp. |
9 | * All rights reserved. | 9 | * All rights reserved. |
10 | * | 10 | * |
11 | * Redistribution and use in source and binary forms, with or without | 11 | * Redistribution and use in source and binary forms, with or without |
diff --git a/include/acpi/processor.h b/include/acpi/processor.h index 0ea5ef4eb6a9..29831768c0e6 100644 --- a/include/acpi/processor.h +++ b/include/acpi/processor.h | |||
@@ -92,11 +92,11 @@ struct acpi_processor_power { | |||
92 | /* Performance Management */ | 92 | /* Performance Management */ |
93 | 93 | ||
94 | struct acpi_psd_package { | 94 | struct acpi_psd_package { |
95 | acpi_integer num_entries; | 95 | u64 num_entries; |
96 | acpi_integer revision; | 96 | u64 revision; |
97 | acpi_integer domain; | 97 | u64 domain; |
98 | acpi_integer coord_type; | 98 | u64 coord_type; |
99 | acpi_integer num_processors; | 99 | u64 num_processors; |
100 | } __attribute__ ((packed)); | 100 | } __attribute__ ((packed)); |
101 | 101 | ||
102 | struct acpi_pct_register { | 102 | struct acpi_pct_register { |
@@ -110,12 +110,12 @@ struct acpi_pct_register { | |||
110 | } __attribute__ ((packed)); | 110 | } __attribute__ ((packed)); |
111 | 111 | ||
112 | struct acpi_processor_px { | 112 | struct acpi_processor_px { |
113 | acpi_integer core_frequency; /* megahertz */ | 113 | u64 core_frequency; /* megahertz */ |
114 | acpi_integer power; /* milliWatts */ | 114 | u64 power; /* milliWatts */ |
115 | acpi_integer transition_latency; /* microseconds */ | 115 | u64 transition_latency; /* microseconds */ |
116 | acpi_integer bus_master_latency; /* microseconds */ | 116 | u64 bus_master_latency; /* microseconds */ |
117 | acpi_integer control; /* control value */ | 117 | u64 control; /* control value */ |
118 | acpi_integer status; /* success indicator */ | 118 | u64 status; /* success indicator */ |
119 | }; | 119 | }; |
120 | 120 | ||
121 | struct acpi_processor_performance { | 121 | struct acpi_processor_performance { |
@@ -133,11 +133,11 @@ struct acpi_processor_performance { | |||
133 | /* Throttling Control */ | 133 | /* Throttling Control */ |
134 | 134 | ||
135 | struct acpi_tsd_package { | 135 | struct acpi_tsd_package { |
136 | acpi_integer num_entries; | 136 | u64 num_entries; |
137 | acpi_integer revision; | 137 | u64 revision; |
138 | acpi_integer domain; | 138 | u64 domain; |
139 | acpi_integer coord_type; | 139 | u64 coord_type; |
140 | acpi_integer num_processors; | 140 | u64 num_processors; |
141 | } __attribute__ ((packed)); | 141 | } __attribute__ ((packed)); |
142 | 142 | ||
143 | struct acpi_ptc_register { | 143 | struct acpi_ptc_register { |
@@ -151,11 +151,11 @@ struct acpi_ptc_register { | |||
151 | } __attribute__ ((packed)); | 151 | } __attribute__ ((packed)); |
152 | 152 | ||
153 | struct acpi_processor_tx_tss { | 153 | struct acpi_processor_tx_tss { |
154 | acpi_integer freqpercentage; /* */ | 154 | u64 freqpercentage; /* */ |
155 | acpi_integer power; /* milliWatts */ | 155 | u64 power; /* milliWatts */ |
156 | acpi_integer transition_latency; /* microseconds */ | 156 | u64 transition_latency; /* microseconds */ |
157 | acpi_integer control; /* control value */ | 157 | u64 control; /* control value */ |
158 | acpi_integer status; /* success indicator */ | 158 | u64 status; /* success indicator */ |
159 | }; | 159 | }; |
160 | struct acpi_processor_tx { | 160 | struct acpi_processor_tx { |
161 | u16 power; | 161 | u16 power; |