Skip to content

Commit bc53515

Browse files
committed
Merge branch 'acpica' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6
* 'acpica' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6: ACPI: replace acpi_integer by u64 ACPICA: Update version to 20100121. ACPICA: Remove unused uint32_struct type ACPICA: Disassembler: Remove obsolete "Integer64" field in parse object ACPICA: Remove obsolete ACPI_INTEGER (acpi_integer) type ACPICA: Predefined name repair: fix NULL package elements ACPICA: AcpiGetDevices: Eliminate unnecessary _STA calls ACPICA: Update all ACPICA copyrights and signons to 2010 ACPICA: Update for new gcc-4 warning options
2 parents d03ab7f + 439913f commit bc53515

167 files changed

Lines changed: 721 additions & 603 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎arch/ia64/hp/common/aml_nfw.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ static void aml_nfw_execute(struct ia64_nfw_context *c)
7777
c->arg[4], c->arg[5], c->arg[6], c->arg[7]);
7878
}
7979

80-
static void aml_nfw_read_arg(u8 *offset, u32 bit_width, acpi_integer *value)
80+
static void aml_nfw_read_arg(u8 *offset, u32 bit_width, u64 *value)
8181
{
8282
switch (bit_width) {
8383
case 8:
@@ -95,7 +95,7 @@ static void aml_nfw_read_arg(u8 *offset, u32 bit_width, acpi_integer *value)
9595
}
9696
}
9797

98-
static void aml_nfw_write_arg(u8 *offset, u32 bit_width, acpi_integer *value)
98+
static void aml_nfw_write_arg(u8 *offset, u32 bit_width, u64 *value)
9999
{
100100
switch (bit_width) {
101101
case 8:
@@ -114,7 +114,7 @@ static void aml_nfw_write_arg(u8 *offset, u32 bit_width, acpi_integer *value)
114114
}
115115

116116
static acpi_status aml_nfw_handler(u32 function, acpi_physical_address address,
117-
u32 bit_width, acpi_integer *value, void *handler_context,
117+
u32 bit_width, u64 *value, void *handler_context,
118118
void *region_context)
119119
{
120120
struct ia64_nfw_context *context = handler_context;

‎arch/x86/kernel/cpu/cpufreq/powernow-k8.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -806,7 +806,7 @@ static int find_psb_table(struct powernow_k8_data *data)
806806
static void powernow_k8_acpi_pst_values(struct powernow_k8_data *data,
807807
unsigned int index)
808808
{
809-
acpi_integer control;
809+
u64 control;
810810

811811
if (!data->acpi_data.state_count || (cpu_family == CPU_HW_PSTATE))
812812
return;
@@ -824,7 +824,7 @@ static int powernow_k8_cpu_init_acpi(struct powernow_k8_data *data)
824824
{
825825
struct cpufreq_frequency_table *powernow_table;
826826
int ret_val = -ENODEV;
827-
acpi_integer control, status;
827+
u64 control, status;
828828

829829
if (acpi_processor_register_performance(&data->acpi_data, data->cpu)) {
830830
dprintk("register performance failed: bad ACPI data\n");
@@ -948,7 +948,7 @@ static int fill_powernow_table_fidvid(struct powernow_k8_data *data,
948948
u32 fid;
949949
u32 vid;
950950
u32 freq, index;
951-
acpi_integer status, control;
951+
u64 status, control;
952952

953953
if (data->exttype) {
954954
status = data->acpi_data.states[i].status;

‎drivers/acpi/acpica/accommon.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*****************************************************************************/
66

77
/*
8-
* Copyright (C) 2000 - 2008, Intel Corp.
8+
* Copyright (C) 2000 - 2010, Intel Corp.
99
* All rights reserved.
1010
*
1111
* Redistribution and use in source and binary forms, with or without

‎drivers/acpi/acpica/acconfig.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*****************************************************************************/
66

77
/*
8-
* Copyright (C) 2000 - 2008, Intel Corp.
8+
* Copyright (C) 2000 - 2010, Intel Corp.
99
* All rights reserved.
1010
*
1111
* Redistribution and use in source and binary forms, with or without

‎drivers/acpi/acpica/acdebug.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*****************************************************************************/
66

77
/*
8-
* Copyright (C) 2000 - 2008, Intel Corp.
8+
* Copyright (C) 2000 - 2010, Intel Corp.
99
* All rights reserved.
1010
*
1111
* Redistribution and use in source and binary forms, with or without

‎drivers/acpi/acpica/acdispat.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*****************************************************************************/
66

77
/*
8-
* Copyright (C) 2000 - 2008, Intel Corp.
8+
* Copyright (C) 2000 - 2010, Intel Corp.
99
* All rights reserved.
1010
*
1111
* Redistribution and use in source and binary forms, with or without

‎drivers/acpi/acpica/acevents.h‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*****************************************************************************/
66

77
/*
8-
* Copyright (C) 2000 - 2008, Intel Corp.
8+
* Copyright (C) 2000 - 2010, Intel Corp.
99
* All rights reserved.
1010
*
1111
* Redistribution and use in source and binary forms, with or without
@@ -133,8 +133,7 @@ acpi_status acpi_ev_initialize_op_regions(void);
133133
acpi_status
134134
acpi_ev_address_space_dispatch(union acpi_operand_object *region_obj,
135135
u32 function,
136-
u32 region_offset,
137-
u32 bit_width, acpi_integer * value);
136+
u32 region_offset, u32 bit_width, u64 *value);
138137

139138
acpi_status
140139
acpi_ev_attach_region(union acpi_operand_object *handler_obj,

‎drivers/acpi/acpica/acglobal.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*****************************************************************************/
66

77
/*
8-
* Copyright (C) 2000 - 2008, Intel Corp.
8+
* Copyright (C) 2000 - 2010, Intel Corp.
99
* All rights reserved.
1010
*
1111
* Redistribution and use in source and binary forms, with or without

‎drivers/acpi/acpica/achware.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*****************************************************************************/
66

77
/*
8-
* Copyright (C) 2000 - 2008, Intel Corp.
8+
* Copyright (C) 2000 - 2010, Intel Corp.
99
* All rights reserved.
1010
*
1111
* Redistribution and use in source and binary forms, with or without

‎drivers/acpi/acpica/acinterp.h‎

Lines changed: 20 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*****************************************************************************/
66

77
/*
8-
* Copyright (C) 2000 - 2008, Intel Corp.
8+
* Copyright (C) 2000 - 2010, Intel Corp.
99
* All rights reserved.
1010
*
1111
* Redistribution and use in source and binary forms, with or without
@@ -129,18 +129,17 @@ acpi_ex_common_buffer_setup(union acpi_operand_object *obj_desc,
129129

130130
acpi_status
131131
acpi_ex_write_with_update_rule(union acpi_operand_object *obj_desc,
132-
acpi_integer mask,
133-
acpi_integer field_value,
134-
u32 field_datum_byte_offset);
132+
u64 mask,
133+
u64 field_value, u32 field_datum_byte_offset);
135134

136135
void
137-
acpi_ex_get_buffer_datum(acpi_integer * datum,
136+
acpi_ex_get_buffer_datum(u64 *datum,
138137
void *buffer,
139138
u32 buffer_length,
140139
u32 byte_granularity, u32 buffer_offset);
141140

142141
void
143-
acpi_ex_set_buffer_datum(acpi_integer merged_datum,
142+
acpi_ex_set_buffer_datum(u64 merged_datum,
144143
void *buffer,
145144
u32 buffer_length,
146145
u32 byte_granularity, u32 buffer_offset);
@@ -168,8 +167,7 @@ acpi_ex_insert_into_field(union acpi_operand_object *obj_desc,
168167

169168
acpi_status
170169
acpi_ex_access_region(union acpi_operand_object *obj_desc,
171-
u32 field_datum_byte_offset,
172-
acpi_integer * value, u32 read_write);
170+
u32 field_datum_byte_offset, u64 *value, u32 read_write);
173171

174172
/*
175173
* exmisc - misc support routines
@@ -193,16 +191,14 @@ acpi_ex_do_concatenate(union acpi_operand_object *obj_desc,
193191

194192
acpi_status
195193
acpi_ex_do_logical_numeric_op(u16 opcode,
196-
acpi_integer integer0,
197-
acpi_integer integer1, u8 * logical_result);
194+
u64 integer0, u64 integer1, u8 *logical_result);
198195

199196
acpi_status
200197
acpi_ex_do_logical_op(u16 opcode,
201198
union acpi_operand_object *operand0,
202-
union acpi_operand_object *operand1, u8 * logical_result);
199+
union acpi_operand_object *operand1, u8 *logical_result);
203200

204-
acpi_integer
205-
acpi_ex_do_math_op(u16 opcode, acpi_integer operand0, acpi_integer operand1);
201+
u64 acpi_ex_do_math_op(u16 opcode, u64 operand0, u64 operand1);
206202

207203
acpi_status acpi_ex_create_mutex(struct acpi_walk_state *walk_state);
208204

@@ -278,7 +274,7 @@ acpi_status
278274
acpi_ex_system_do_notify_op(union acpi_operand_object *value,
279275
union acpi_operand_object *obj_desc);
280276

281-
acpi_status acpi_ex_system_do_suspend(acpi_integer time);
277+
acpi_status acpi_ex_system_do_suspend(u64 time);
282278

283279
acpi_status acpi_ex_system_do_stall(u32 time);
284280

@@ -461,9 +457,9 @@ void acpi_ex_acquire_global_lock(u32 rule);
461457

462458
void acpi_ex_release_global_lock(u32 rule);
463459

464-
void acpi_ex_eisa_id_to_string(char *dest, acpi_integer compressed_id);
460+
void acpi_ex_eisa_id_to_string(char *dest, u64 compressed_id);
465461

466-
void acpi_ex_integer_to_string(char *dest, acpi_integer value);
462+
void acpi_ex_integer_to_string(char *dest, u64 value);
467463

468464
/*
469465
* exregion - default op_region handlers
@@ -472,58 +468,58 @@ acpi_status
472468
acpi_ex_system_memory_space_handler(u32 function,
473469
acpi_physical_address address,
474470
u32 bit_width,
475-
acpi_integer * value,
471+
u64 *value,
476472
void *handler_context,
477473
void *region_context);
478474

479475
acpi_status
480476
acpi_ex_system_io_space_handler(u32 function,
481477
acpi_physical_address address,
482478
u32 bit_width,
483-
acpi_integer * value,
479+
u64 *value,
484480
void *handler_context, void *region_context);
485481

486482
acpi_status
487483
acpi_ex_pci_config_space_handler(u32 function,
488484
acpi_physical_address address,
489485
u32 bit_width,
490-
acpi_integer * value,
486+
u64 *value,
491487
void *handler_context, void *region_context);
492488

493489
acpi_status
494490
acpi_ex_cmos_space_handler(u32 function,
495491
acpi_physical_address address,
496492
u32 bit_width,
497-
acpi_integer * value,
493+
u64 *value,
498494
void *handler_context, void *region_context);
499495

500496
acpi_status
501497
acpi_ex_pci_bar_space_handler(u32 function,
502498
acpi_physical_address address,
503499
u32 bit_width,
504-
acpi_integer * value,
500+
u64 *value,
505501
void *handler_context, void *region_context);
506502

507503
acpi_status
508504
acpi_ex_embedded_controller_space_handler(u32 function,
509505
acpi_physical_address address,
510506
u32 bit_width,
511-
acpi_integer * value,
507+
u64 *value,
512508
void *handler_context,
513509
void *region_context);
514510

515511
acpi_status
516512
acpi_ex_sm_bus_space_handler(u32 function,
517513
acpi_physical_address address,
518514
u32 bit_width,
519-
acpi_integer * value,
515+
u64 *value,
520516
void *handler_context, void *region_context);
521517

522518
acpi_status
523519
acpi_ex_data_table_space_handler(u32 function,
524520
acpi_physical_address address,
525521
u32 bit_width,
526-
acpi_integer * value,
522+
u64 *value,
527523
void *handler_context, void *region_context);
528524

529525
#endif /* __INTERP_H__ */

0 commit comments

Comments
 (0)