diff options
61 files changed, 188 insertions, 188 deletions
diff --git a/drivers/acpi/acpica/acglobal.h b/drivers/acpi/acpica/acglobal.h index 35006d193d51..64472e4ec329 100644 --- a/drivers/acpi/acpica/acglobal.h +++ b/drivers/acpi/acpica/acglobal.h | |||
@@ -70,7 +70,7 @@ | |||
70 | 70 | ||
71 | /* | 71 | /* |
72 | * Enable "slack" in the AML interpreter? Default is FALSE, and the | 72 | * Enable "slack" in the AML interpreter? Default is FALSE, and the |
73 | * interpreter strictly follows the ACPI specification. Setting to TRUE | 73 | * interpreter strictly follows the ACPI specification. Setting to TRUE |
74 | * allows the interpreter to ignore certain errors and/or bad AML constructs. | 74 | * allows the interpreter to ignore certain errors and/or bad AML constructs. |
75 | * | 75 | * |
76 | * Currently, these features are enabled by this flag: | 76 | * Currently, these features are enabled by this flag: |
diff --git a/drivers/acpi/acpica/aclocal.h b/drivers/acpi/acpica/aclocal.h index 5b5be40a1997..ff8bd0061e8b 100644 --- a/drivers/acpi/acpica/aclocal.h +++ b/drivers/acpi/acpica/aclocal.h | |||
@@ -265,7 +265,7 @@ typedef | |||
265 | acpi_status(*acpi_internal_method) (struct acpi_walk_state * walk_state); | 265 | acpi_status(*acpi_internal_method) (struct acpi_walk_state * walk_state); |
266 | 266 | ||
267 | /* | 267 | /* |
268 | * Bitmapped ACPI types. Used internally only | 268 | * Bitmapped ACPI types. Used internally only |
269 | */ | 269 | */ |
270 | #define ACPI_BTYPE_ANY 0x00000000 | 270 | #define ACPI_BTYPE_ANY 0x00000000 |
271 | #define ACPI_BTYPE_INTEGER 0x00000001 | 271 | #define ACPI_BTYPE_INTEGER 0x00000001 |
@@ -584,7 +584,7 @@ struct acpi_pscope_state { | |||
584 | }; | 584 | }; |
585 | 585 | ||
586 | /* | 586 | /* |
587 | * Thread state - one per thread across multiple walk states. Multiple walk | 587 | * Thread state - one per thread across multiple walk states. Multiple walk |
588 | * states are created when there are nested control methods executing. | 588 | * states are created when there are nested control methods executing. |
589 | */ | 589 | */ |
590 | struct acpi_thread_state { | 590 | struct acpi_thread_state { |
diff --git a/drivers/acpi/acpica/acobject.h b/drivers/acpi/acpica/acobject.h index b83e46aebb17..24eb9eac9514 100644 --- a/drivers/acpi/acpica/acobject.h +++ b/drivers/acpi/acpica/acobject.h | |||
@@ -197,7 +197,7 @@ struct acpi_object_method { | |||
197 | 197 | ||
198 | /****************************************************************************** | 198 | /****************************************************************************** |
199 | * | 199 | * |
200 | * Objects that can be notified. All share a common notify_info area. | 200 | * Objects that can be notified. All share a common notify_info area. |
201 | * | 201 | * |
202 | *****************************************************************************/ | 202 | *****************************************************************************/ |
203 | 203 | ||
@@ -234,7 +234,7 @@ ACPI_OBJECT_COMMON_HEADER ACPI_COMMON_NOTIFY_INFO}; | |||
234 | 234 | ||
235 | /****************************************************************************** | 235 | /****************************************************************************** |
236 | * | 236 | * |
237 | * Fields. All share a common header/info field. | 237 | * Fields. All share a common header/info field. |
238 | * | 238 | * |
239 | *****************************************************************************/ | 239 | *****************************************************************************/ |
240 | 240 | ||
diff --git a/drivers/acpi/acpica/acopcode.h b/drivers/acpi/acpica/acopcode.h index 9440d053fbb3..d786a5128b78 100644 --- a/drivers/acpi/acpica/acopcode.h +++ b/drivers/acpi/acpica/acopcode.h | |||
@@ -54,7 +54,7 @@ | |||
54 | #define _UNK 0x6B | 54 | #define _UNK 0x6B |
55 | 55 | ||
56 | /* | 56 | /* |
57 | * Reserved ASCII characters. Do not use any of these for | 57 | * Reserved ASCII characters. Do not use any of these for |
58 | * internal opcodes, since they are used to differentiate | 58 | * internal opcodes, since they are used to differentiate |
59 | * name strings from AML opcodes | 59 | * name strings from AML opcodes |
60 | */ | 60 | */ |
@@ -63,7 +63,7 @@ | |||
63 | #define _PFX 0x6D | 63 | #define _PFX 0x6D |
64 | 64 | ||
65 | /* | 65 | /* |
66 | * All AML opcodes and the parse-time arguments for each. Used by the AML | 66 | * All AML opcodes and the parse-time arguments for each. Used by the AML |
67 | * parser Each list is compressed into a 32-bit number and stored in the | 67 | * parser Each list is compressed into a 32-bit number and stored in the |
68 | * master opcode table (in psopcode.c). | 68 | * master opcode table (in psopcode.c). |
69 | */ | 69 | */ |
@@ -193,7 +193,7 @@ | |||
193 | #define ARGP_ZERO_OP ARG_NONE | 193 | #define ARGP_ZERO_OP ARG_NONE |
194 | 194 | ||
195 | /* | 195 | /* |
196 | * All AML opcodes and the runtime arguments for each. Used by the AML | 196 | * All AML opcodes and the runtime arguments for each. Used by the AML |
197 | * interpreter Each list is compressed into a 32-bit number and stored | 197 | * interpreter Each list is compressed into a 32-bit number and stored |
198 | * in the master opcode table (in psopcode.c). | 198 | * in the master opcode table (in psopcode.c). |
199 | * | 199 | * |
diff --git a/drivers/acpi/acpica/acstruct.h b/drivers/acpi/acpica/acstruct.h index f196e2c9a71f..937e66c65d1e 100644 --- a/drivers/acpi/acpica/acstruct.h +++ b/drivers/acpi/acpica/acstruct.h | |||
@@ -53,7 +53,7 @@ | |||
53 | ****************************************************************************/ | 53 | ****************************************************************************/ |
54 | 54 | ||
55 | /* | 55 | /* |
56 | * Walk state - current state of a parse tree walk. Used for both a leisurely | 56 | * Walk state - current state of a parse tree walk. Used for both a leisurely |
57 | * stroll through the tree (for whatever reason), and for control method | 57 | * stroll through the tree (for whatever reason), and for control method |
58 | * execution. | 58 | * execution. |
59 | */ | 59 | */ |
diff --git a/drivers/acpi/acpica/dscontrol.c b/drivers/acpi/acpica/dscontrol.c index 465f02134b89..57895db3231a 100644 --- a/drivers/acpi/acpica/dscontrol.c +++ b/drivers/acpi/acpica/dscontrol.c | |||
@@ -280,7 +280,7 @@ acpi_ds_exec_end_control_op(struct acpi_walk_state * walk_state, | |||
280 | 280 | ||
281 | /* | 281 | /* |
282 | * Get the return value and save as the last result | 282 | * Get the return value and save as the last result |
283 | * value. This is the only place where walk_state->return_desc | 283 | * value. This is the only place where walk_state->return_desc |
284 | * is set to anything other than zero! | 284 | * is set to anything other than zero! |
285 | */ | 285 | */ |
286 | walk_state->return_desc = walk_state->operands[0]; | 286 | walk_state->return_desc = walk_state->operands[0]; |
diff --git a/drivers/acpi/acpica/dsfield.c b/drivers/acpi/acpica/dsfield.c index 3da6fd8530c5..b5b904ee815f 100644 --- a/drivers/acpi/acpica/dsfield.c +++ b/drivers/acpi/acpica/dsfield.c | |||
@@ -277,7 +277,7 @@ acpi_ds_create_buffer_field(union acpi_parse_object *op, | |||
277 | * | 277 | * |
278 | * RETURN: Status | 278 | * RETURN: Status |
279 | * | 279 | * |
280 | * DESCRIPTION: Process all named fields in a field declaration. Names are | 280 | * DESCRIPTION: Process all named fields in a field declaration. Names are |
281 | * entered into the namespace. | 281 | * entered into the namespace. |
282 | * | 282 | * |
283 | ******************************************************************************/ | 283 | ******************************************************************************/ |
diff --git a/drivers/acpi/acpica/dsmethod.c b/drivers/acpi/acpica/dsmethod.c index aa9a5d4e4052..52eb4e01622a 100644 --- a/drivers/acpi/acpica/dsmethod.c +++ b/drivers/acpi/acpica/dsmethod.c | |||
@@ -170,7 +170,7 @@ acpi_ds_create_method_mutex(union acpi_operand_object *method_desc) | |||
170 | * | 170 | * |
171 | * RETURN: Status | 171 | * RETURN: Status |
172 | * | 172 | * |
173 | * DESCRIPTION: Prepare a method for execution. Parses the method if necessary, | 173 | * DESCRIPTION: Prepare a method for execution. Parses the method if necessary, |
174 | * increments the thread count, and waits at the method semaphore | 174 | * increments the thread count, and waits at the method semaphore |
175 | * for clearance to execute. | 175 | * for clearance to execute. |
176 | * | 176 | * |
@@ -444,7 +444,7 @@ acpi_ds_call_control_method(struct acpi_thread_state *thread, | |||
444 | * RETURN: Status | 444 | * RETURN: Status |
445 | * | 445 | * |
446 | * DESCRIPTION: Restart a method that was preempted by another (nested) method | 446 | * DESCRIPTION: Restart a method that was preempted by another (nested) method |
447 | * invocation. Handle the return value (if any) from the callee. | 447 | * invocation. Handle the return value (if any) from the callee. |
448 | * | 448 | * |
449 | ******************************************************************************/ | 449 | ******************************************************************************/ |
450 | 450 | ||
@@ -530,7 +530,7 @@ acpi_ds_restart_control_method(struct acpi_walk_state *walk_state, | |||
530 | * | 530 | * |
531 | * RETURN: None | 531 | * RETURN: None |
532 | * | 532 | * |
533 | * DESCRIPTION: Terminate a control method. Delete everything that the method | 533 | * DESCRIPTION: Terminate a control method. Delete everything that the method |
534 | * created, delete all locals and arguments, and delete the parse | 534 | * created, delete all locals and arguments, and delete the parse |
535 | * tree if requested. | 535 | * tree if requested. |
536 | * | 536 | * |
diff --git a/drivers/acpi/acpica/dsmthdat.c b/drivers/acpi/acpica/dsmthdat.c index 8d55cebaa656..9a83b7e0f3ba 100644 --- a/drivers/acpi/acpica/dsmthdat.c +++ b/drivers/acpi/acpica/dsmthdat.c | |||
@@ -76,7 +76,7 @@ acpi_ds_method_data_get_type(u16 opcode, | |||
76 | * RETURN: Status | 76 | * RETURN: Status |
77 | * | 77 | * |
78 | * DESCRIPTION: Initialize the data structures that hold the method's arguments | 78 | * DESCRIPTION: Initialize the data structures that hold the method's arguments |
79 | * and locals. The data struct is an array of namespace nodes for | 79 | * and locals. The data struct is an array of namespace nodes for |
80 | * each - this allows ref_of and de_ref_of to work properly for these | 80 | * each - this allows ref_of and de_ref_of to work properly for these |
81 | * special data types. | 81 | * special data types. |
82 | * | 82 | * |
@@ -129,7 +129,7 @@ void acpi_ds_method_data_init(struct acpi_walk_state *walk_state) | |||
129 | * | 129 | * |
130 | * RETURN: None | 130 | * RETURN: None |
131 | * | 131 | * |
132 | * DESCRIPTION: Delete method locals and arguments. Arguments are only | 132 | * DESCRIPTION: Delete method locals and arguments. Arguments are only |
133 | * deleted if this method was called from another method. | 133 | * deleted if this method was called from another method. |
134 | * | 134 | * |
135 | ******************************************************************************/ | 135 | ******************************************************************************/ |
@@ -183,7 +183,7 @@ void acpi_ds_method_data_delete_all(struct acpi_walk_state *walk_state) | |||
183 | * | 183 | * |
184 | * RETURN: Status | 184 | * RETURN: Status |
185 | * | 185 | * |
186 | * DESCRIPTION: Initialize arguments for a method. The parameter list is a list | 186 | * DESCRIPTION: Initialize arguments for a method. The parameter list is a list |
187 | * of ACPI operand objects, either null terminated or whose length | 187 | * of ACPI operand objects, either null terminated or whose length |
188 | * is defined by max_param_count. | 188 | * is defined by max_param_count. |
189 | * | 189 | * |
@@ -401,7 +401,7 @@ acpi_ds_method_data_get_value(u8 type, | |||
401 | * This means that either 1) The expected argument was | 401 | * This means that either 1) The expected argument was |
402 | * not passed to the method, or 2) A local variable | 402 | * not passed to the method, or 2) A local variable |
403 | * was referenced by the method (via the ASL) | 403 | * was referenced by the method (via the ASL) |
404 | * before it was initialized. Either case is an error. | 404 | * before it was initialized. Either case is an error. |
405 | */ | 405 | */ |
406 | 406 | ||
407 | /* If slack enabled, init the local_x/arg_x to an Integer of value zero */ | 407 | /* If slack enabled, init the local_x/arg_x to an Integer of value zero */ |
@@ -465,7 +465,7 @@ acpi_ds_method_data_get_value(u8 type, | |||
465 | * | 465 | * |
466 | * RETURN: None | 466 | * RETURN: None |
467 | * | 467 | * |
468 | * DESCRIPTION: Delete the entry at Opcode:Index. Inserts | 468 | * DESCRIPTION: Delete the entry at Opcode:Index. Inserts |
469 | * a null into the stack slot after the object is deleted. | 469 | * a null into the stack slot after the object is deleted. |
470 | * | 470 | * |
471 | ******************************************************************************/ | 471 | ******************************************************************************/ |
@@ -523,7 +523,7 @@ acpi_ds_method_data_delete_value(u8 type, | |||
523 | * | 523 | * |
524 | * RETURN: Status | 524 | * RETURN: Status |
525 | * | 525 | * |
526 | * DESCRIPTION: Store a value in an Arg or Local. The obj_desc is installed | 526 | * DESCRIPTION: Store a value in an Arg or Local. The obj_desc is installed |
527 | * as the new value for the Arg or Local and the reference count | 527 | * as the new value for the Arg or Local and the reference count |
528 | * for obj_desc is incremented. | 528 | * for obj_desc is incremented. |
529 | * | 529 | * |
@@ -566,7 +566,7 @@ acpi_ds_store_object_to_local(u8 type, | |||
566 | 566 | ||
567 | /* | 567 | /* |
568 | * If the reference count on the object is more than one, we must | 568 | * If the reference count on the object is more than one, we must |
569 | * take a copy of the object before we store. A reference count | 569 | * take a copy of the object before we store. A reference count |
570 | * of exactly 1 means that the object was just created during the | 570 | * of exactly 1 means that the object was just created during the |
571 | * evaluation of an expression, and we can safely use it since it | 571 | * evaluation of an expression, and we can safely use it since it |
572 | * is not used anywhere else. | 572 | * is not used anywhere else. |
diff --git a/drivers/acpi/acpica/dsobject.c b/drivers/acpi/acpica/dsobject.c index 68592dd34960..c9f15d3a3686 100644 --- a/drivers/acpi/acpica/dsobject.c +++ b/drivers/acpi/acpica/dsobject.c | |||
@@ -293,7 +293,7 @@ acpi_ds_build_internal_buffer_obj(struct acpi_walk_state *walk_state, | |||
293 | 293 | ||
294 | /* | 294 | /* |
295 | * Second arg is the buffer data (optional) byte_list can be either | 295 | * Second arg is the buffer data (optional) byte_list can be either |
296 | * individual bytes or a string initializer. In either case, a | 296 | * individual bytes or a string initializer. In either case, a |
297 | * byte_list appears in the AML. | 297 | * byte_list appears in the AML. |
298 | */ | 298 | */ |
299 | arg = op->common.value.arg; /* skip first arg */ | 299 | arg = op->common.value.arg; /* skip first arg */ |
@@ -568,7 +568,7 @@ acpi_ds_create_node(struct acpi_walk_state *walk_state, | |||
568 | 568 | ||
569 | /* | 569 | /* |
570 | * Because of the execution pass through the non-control-method | 570 | * Because of the execution pass through the non-control-method |
571 | * parts of the table, we can arrive here twice. Only init | 571 | * parts of the table, we can arrive here twice. Only init |
572 | * the named object node the first time through | 572 | * the named object node the first time through |
573 | */ | 573 | */ |
574 | if (acpi_ns_get_attached_object(node)) { | 574 | if (acpi_ns_get_attached_object(node)) { |
@@ -618,7 +618,7 @@ acpi_ds_create_node(struct acpi_walk_state *walk_state, | |||
618 | * RETURN: Status | 618 | * RETURN: Status |
619 | * | 619 | * |
620 | * DESCRIPTION: Initialize a namespace object from a parser Op and its | 620 | * DESCRIPTION: Initialize a namespace object from a parser Op and its |
621 | * associated arguments. The namespace object is a more compact | 621 | * associated arguments. The namespace object is a more compact |
622 | * representation of the Op and its arguments. | 622 | * representation of the Op and its arguments. |
623 | * | 623 | * |
624 | ******************************************************************************/ | 624 | ******************************************************************************/ |
diff --git a/drivers/acpi/acpica/dsutils.c b/drivers/acpi/acpica/dsutils.c index 4bbdd6c7a3d0..afeb99f49482 100644 --- a/drivers/acpi/acpica/dsutils.c +++ b/drivers/acpi/acpica/dsutils.c | |||
@@ -61,7 +61,7 @@ ACPI_MODULE_NAME("dsutils") | |||
61 | * | 61 | * |
62 | * RETURN: None. | 62 | * RETURN: None. |
63 | * | 63 | * |
64 | * DESCRIPTION: Clear and remove a reference on an implicit return value. Used | 64 | * DESCRIPTION: Clear and remove a reference on an implicit return value. Used |
65 | * to delete "stale" return values (if enabled, the return value | 65 | * to delete "stale" return values (if enabled, the return value |
66 | * from every operator is saved at least momentarily, in case the | 66 | * from every operator is saved at least momentarily, in case the |
67 | * parent method exits.) | 67 | * parent method exits.) |
@@ -107,7 +107,7 @@ void acpi_ds_clear_implicit_return(struct acpi_walk_state *walk_state) | |||
107 | * | 107 | * |
108 | * DESCRIPTION: Implements the optional "implicit return". We save the result | 108 | * DESCRIPTION: Implements the optional "implicit return". We save the result |
109 | * of every ASL operator and control method invocation in case the | 109 | * of every ASL operator and control method invocation in case the |
110 | * parent method exit. Before storing a new return value, we | 110 | * parent method exit. Before storing a new return value, we |
111 | * delete the previous return value. | 111 | * delete the previous return value. |
112 | * | 112 | * |
113 | ******************************************************************************/ | 113 | ******************************************************************************/ |
@@ -198,7 +198,7 @@ acpi_ds_is_result_used(union acpi_parse_object * op, | |||
198 | * | 198 | * |
199 | * If there is no parent, or the parent is a scope_op, we are executing | 199 | * If there is no parent, or the parent is a scope_op, we are executing |
200 | * at the method level. An executing method typically has no parent, | 200 | * at the method level. An executing method typically has no parent, |
201 | * since each method is parsed separately. A method invoked externally | 201 | * since each method is parsed separately. A method invoked externally |
202 | * via execute_control_method has a scope_op as the parent. | 202 | * via execute_control_method has a scope_op as the parent. |
203 | */ | 203 | */ |
204 | if ((!op->common.parent) || | 204 | if ((!op->common.parent) || |
@@ -223,7 +223,7 @@ acpi_ds_is_result_used(union acpi_parse_object * op, | |||
223 | } | 223 | } |
224 | 224 | ||
225 | /* | 225 | /* |
226 | * Decide what to do with the result based on the parent. If | 226 | * Decide what to do with the result based on the parent. If |
227 | * the parent opcode will not use the result, delete the object. | 227 | * the parent opcode will not use the result, delete the object. |
228 | * Otherwise leave it as is, it will be deleted when it is used | 228 | * Otherwise leave it as is, it will be deleted when it is used |
229 | * as an operand later. | 229 | * as an operand later. |
@@ -266,7 +266,7 @@ acpi_ds_is_result_used(union acpi_parse_object * op, | |||
266 | 266 | ||
267 | /* | 267 | /* |
268 | * These opcodes allow term_arg(s) as operands and therefore | 268 | * These opcodes allow term_arg(s) as operands and therefore |
269 | * the operands can be method calls. The result is used. | 269 | * the operands can be method calls. The result is used. |
270 | */ | 270 | */ |
271 | goto result_used; | 271 | goto result_used; |
272 | 272 | ||
@@ -284,7 +284,7 @@ acpi_ds_is_result_used(union acpi_parse_object * op, | |||
284 | AML_BANK_FIELD_OP)) { | 284 | AML_BANK_FIELD_OP)) { |
285 | /* | 285 | /* |
286 | * These opcodes allow term_arg(s) as operands and therefore | 286 | * These opcodes allow term_arg(s) as operands and therefore |
287 | * the operands can be method calls. The result is used. | 287 | * the operands can be method calls. The result is used. |
288 | */ | 288 | */ |
289 | goto result_used; | 289 | goto result_used; |
290 | } | 290 | } |
@@ -329,9 +329,9 @@ acpi_ds_is_result_used(union acpi_parse_object * op, | |||
329 | * | 329 | * |
330 | * RETURN: Status | 330 | * RETURN: Status |
331 | * | 331 | * |
332 | * DESCRIPTION: Used after interpretation of an opcode. If there is an internal | 332 | * DESCRIPTION: Used after interpretation of an opcode. If there is an internal |
333 | * result descriptor, check if the parent opcode will actually use | 333 | * result descriptor, check if the parent opcode will actually use |
334 | * this result. If not, delete the result now so that it will | 334 | * this result. If not, delete the result now so that it will |
335 | * not become orphaned. | 335 | * not become orphaned. |
336 | * | 336 | * |
337 | ******************************************************************************/ | 337 | ******************************************************************************/ |
@@ -376,7 +376,7 @@ acpi_ds_delete_result_if_not_used(union acpi_parse_object *op, | |||
376 | * | 376 | * |
377 | * RETURN: Status | 377 | * RETURN: Status |
378 | * | 378 | * |
379 | * DESCRIPTION: Resolve all operands to their values. Used to prepare | 379 | * DESCRIPTION: Resolve all operands to their values. Used to prepare |
380 | * arguments to a control method invocation (a call from one | 380 | * arguments to a control method invocation (a call from one |
381 | * method to another.) | 381 | * method to another.) |
382 | * | 382 | * |
@@ -391,7 +391,7 @@ acpi_status acpi_ds_resolve_operands(struct acpi_walk_state *walk_state) | |||
391 | 391 | ||
392 | /* | 392 | /* |
393 | * Attempt to resolve each of the valid operands | 393 | * Attempt to resolve each of the valid operands |
394 | * Method arguments are passed by reference, not by value. This means | 394 | * Method arguments are passed by reference, not by value. This means |
395 | * that the actual objects are passed, not copies of the objects. | 395 | * that the actual objects are passed, not copies of the objects. |
396 | */ | 396 | */ |
397 | for (i = 0; i < walk_state->num_operands; i++) { | 397 | for (i = 0; i < walk_state->num_operands; i++) { |
@@ -451,7 +451,7 @@ void acpi_ds_clear_operands(struct acpi_walk_state *walk_state) | |||
451 | * RETURN: Status | 451 | * RETURN: Status |
452 | * | 452 | * |
453 | * DESCRIPTION: Translate a parse tree object that is an argument to an AML | 453 | * DESCRIPTION: Translate a parse tree object that is an argument to an AML |
454 | * opcode to the equivalent interpreter object. This may include | 454 | * opcode to the equivalent interpreter object. This may include |
455 | * looking up a name or entering a new name into the internal | 455 | * looking up a name or entering a new name into the internal |
456 | * namespace. | 456 | * namespace. |
457 | * | 457 | * |
@@ -496,9 +496,9 @@ acpi_ds_create_operand(struct acpi_walk_state *walk_state, | |||
496 | /* | 496 | /* |
497 | * Special handling for buffer_field declarations. This is a deferred | 497 | * Special handling for buffer_field declarations. This is a deferred |
498 | * opcode that unfortunately defines the field name as the last | 498 | * opcode that unfortunately defines the field name as the last |
499 | * parameter instead of the first. We get here when we are performing | 499 | * parameter instead of the first. We get here when we are performing |
500 | * the deferred execution, so the actual name of the field is already | 500 | * the deferred execution, so the actual name of the field is already |
501 | * in the namespace. We don't want to attempt to look it up again | 501 | * in the namespace. We don't want to attempt to look it up again |
502 | * because we may be executing in a different scope than where the | 502 | * because we may be executing in a different scope than where the |
503 | * actual opcode exists. | 503 | * actual opcode exists. |
504 | */ | 504 | */ |
@@ -605,8 +605,8 @@ acpi_ds_create_operand(struct acpi_walk_state *walk_state, | |||
605 | /* | 605 | /* |
606 | * If the name is null, this means that this is an | 606 | * If the name is null, this means that this is an |
607 | * optional result parameter that was not specified | 607 | * optional result parameter that was not specified |
608 | * in the original ASL. Create a Zero Constant for a | 608 | * in the original ASL. Create a Zero Constant for a |
609 | * placeholder. (Store to a constant is a Noop.) | 609 | * placeholder. (Store to a constant is a Noop.) |
610 | */ | 610 | */ |
611 | opcode = AML_ZERO_OP; /* Has no arguments! */ | 611 | opcode = AML_ZERO_OP; /* Has no arguments! */ |
612 | 612 | ||
diff --git a/drivers/acpi/acpica/dswexec.c b/drivers/acpi/acpica/dswexec.c index fa44609aba33..58593931be96 100644 --- a/drivers/acpi/acpica/dswexec.c +++ b/drivers/acpi/acpica/dswexec.c | |||
@@ -204,7 +204,7 @@ acpi_ds_get_predicate_value(struct acpi_walk_state *walk_state, | |||
204 | * RETURN: Status | 204 | * RETURN: Status |
205 | * | 205 | * |
206 | * DESCRIPTION: Descending callback used during the execution of control | 206 | * DESCRIPTION: Descending callback used during the execution of control |
207 | * methods. This is where most operators and operands are | 207 | * methods. This is where most operators and operands are |
208 | * dispatched to the interpreter. | 208 | * dispatched to the interpreter. |
209 | * | 209 | * |
210 | ****************************************************************************/ | 210 | ****************************************************************************/ |
@@ -297,7 +297,7 @@ acpi_ds_exec_begin_op(struct acpi_walk_state *walk_state, | |||
297 | if (walk_state->walk_type & ACPI_WALK_METHOD) { | 297 | if (walk_state->walk_type & ACPI_WALK_METHOD) { |
298 | /* | 298 | /* |
299 | * Found a named object declaration during method execution; | 299 | * Found a named object declaration during method execution; |
300 | * we must enter this object into the namespace. The created | 300 | * we must enter this object into the namespace. The created |
301 | * object is temporary and will be deleted upon completion of | 301 | * object is temporary and will be deleted upon completion of |
302 | * the execution of this method. | 302 | * the execution of this method. |
303 | * | 303 | * |
@@ -348,7 +348,7 @@ acpi_ds_exec_begin_op(struct acpi_walk_state *walk_state, | |||
348 | * RETURN: Status | 348 | * RETURN: Status |
349 | * | 349 | * |
350 | * DESCRIPTION: Ascending callback used during the execution of control | 350 | * DESCRIPTION: Ascending callback used during the execution of control |
351 | * methods. The only thing we really need to do here is to | 351 | * methods. The only thing we really need to do here is to |
352 | * notice the beginning of IF, ELSE, and WHILE blocks. | 352 | * notice the beginning of IF, ELSE, and WHILE blocks. |
353 | * | 353 | * |
354 | ****************************************************************************/ | 354 | ****************************************************************************/ |
@@ -432,7 +432,7 @@ acpi_status acpi_ds_exec_end_op(struct acpi_walk_state *walk_state) | |||
432 | if (ACPI_SUCCESS(status)) { | 432 | if (ACPI_SUCCESS(status)) { |
433 | /* | 433 | /* |
434 | * Dispatch the request to the appropriate interpreter handler | 434 | * Dispatch the request to the appropriate interpreter handler |
435 | * routine. There is one routine per opcode "type" based upon the | 435 | * routine. There is one routine per opcode "type" based upon the |
436 | * number of opcode arguments and return type. | 436 | * number of opcode arguments and return type. |
437 | */ | 437 | */ |
438 | status = | 438 | status = |
diff --git a/drivers/acpi/acpica/dswstate.c b/drivers/acpi/acpica/dswstate.c index 8e6267980aaf..3e65a15a735f 100644 --- a/drivers/acpi/acpica/dswstate.c +++ b/drivers/acpi/acpica/dswstate.c | |||
@@ -348,7 +348,7 @@ acpi_ds_obj_stack_push(void *object, struct acpi_walk_state * walk_state) | |||
348 | * | 348 | * |
349 | * RETURN: Status | 349 | * RETURN: Status |
350 | * | 350 | * |
351 | * DESCRIPTION: Pop this walk's object stack. Objects on the stack are NOT | 351 | * DESCRIPTION: Pop this walk's object stack. Objects on the stack are NOT |
352 | * deleted by this routine. | 352 | * deleted by this routine. |
353 | * | 353 | * |
354 | ******************************************************************************/ | 354 | ******************************************************************************/ |
@@ -492,7 +492,7 @@ acpi_ds_push_walk_state(struct acpi_walk_state *walk_state, | |||
492 | * RETURN: A walk_state object popped from the thread's stack | 492 | * RETURN: A walk_state object popped from the thread's stack |
493 | * | 493 | * |
494 | * DESCRIPTION: Remove and return the walkstate object that is at the head of | 494 | * DESCRIPTION: Remove and return the walkstate object that is at the head of |
495 | * the walk stack for the given walk list. NULL indicates that | 495 | * the walk stack for the given walk list. NULL indicates that |
496 | * the list is empty. | 496 | * the list is empty. |
497 | * | 497 | * |
498 | ******************************************************************************/ | 498 | ******************************************************************************/ |
@@ -532,7 +532,7 @@ struct acpi_walk_state *acpi_ds_pop_walk_state(struct acpi_thread_state *thread) | |||
532 | * | 532 | * |
533 | * RETURN: Pointer to the new walk state. | 533 | * RETURN: Pointer to the new walk state. |
534 | * | 534 | * |
535 | * DESCRIPTION: Allocate and initialize a new walk state. The current walk | 535 | * DESCRIPTION: Allocate and initialize a new walk state. The current walk |
536 | * state is set to this new state. | 536 | * state is set to this new state. |
537 | * | 537 | * |
538 | ******************************************************************************/ | 538 | ******************************************************************************/ |
@@ -657,7 +657,7 @@ acpi_ds_init_aml_walk(struct acpi_walk_state *walk_state, | |||
657 | /* | 657 | /* |
658 | * Setup the current scope. | 658 | * Setup the current scope. |
659 | * Find a Named Op that has a namespace node associated with it. | 659 | * Find a Named Op that has a namespace node associated with it. |
660 | * search upwards from this Op. Current scope is the first | 660 | * search upwards from this Op. Current scope is the first |
661 | * Op with a namespace node. | 661 | * Op with a namespace node. |
662 | */ | 662 | */ |
663 | extra_op = parser_state->start_op; | 663 | extra_op = parser_state->start_op; |
diff --git a/drivers/acpi/acpica/excreate.c b/drivers/acpi/acpica/excreate.c index 9f152701bc0f..66554bc6f9a8 100644 --- a/drivers/acpi/acpica/excreate.c +++ b/drivers/acpi/acpica/excreate.c | |||
@@ -78,7 +78,7 @@ acpi_status acpi_ex_create_alias(struct acpi_walk_state *walk_state) | |||
78 | (target_node->type == ACPI_TYPE_LOCAL_METHOD_ALIAS)) { | 78 | (target_node->type == ACPI_TYPE_LOCAL_METHOD_ALIAS)) { |
79 | /* | 79 | /* |
80 | * Dereference an existing alias so that we don't create a chain | 80 | * Dereference an existing alias so that we don't create a chain |
81 | * of aliases. With this code, we guarantee that an alias is | 81 | * of aliases. With this code, we guarantee that an alias is |
82 | * always exactly one level of indirection away from the | 82 | * always exactly one level of indirection away from the |
83 | * actual aliased name. | 83 | * actual aliased name. |
84 | */ | 84 | */ |
@@ -90,7 +90,7 @@ acpi_status acpi_ex_create_alias(struct acpi_walk_state *walk_state) | |||
90 | /* | 90 | /* |
91 | * For objects that can never change (i.e., the NS node will | 91 | * For objects that can never change (i.e., the NS node will |
92 | * permanently point to the same object), we can simply attach | 92 | * permanently point to the same object), we can simply attach |
93 | * the object to the new NS node. For other objects (such as | 93 | * the object to the new NS node. For other objects (such as |
94 | * Integers, buffers, etc.), we have to point the Alias node | 94 | * Integers, buffers, etc.), we have to point the Alias node |
95 | * to the original Node. | 95 | * to the original Node. |
96 | */ | 96 | */ |
@@ -139,7 +139,7 @@ acpi_status acpi_ex_create_alias(struct acpi_walk_state *walk_state) | |||
139 | 139 | ||
140 | /* | 140 | /* |
141 | * The new alias assumes the type of the target, and it points | 141 | * The new alias assumes the type of the target, and it points |
142 | * to the same object. The reference count of the object has an | 142 | * to the same object. The reference count of the object has an |
143 | * additional reference to prevent deletion out from under either the | 143 | * additional reference to prevent deletion out from under either the |
144 | * target node or the alias Node | 144 | * target node or the alias Node |
145 | */ | 145 | */ |
diff --git a/drivers/acpi/acpica/exdump.c b/drivers/acpi/acpica/exdump.c index 40608b3e28f7..3157f3bb8de7 100644 --- a/drivers/acpi/acpica/exdump.c +++ b/drivers/acpi/acpica/exdump.c | |||
@@ -778,7 +778,7 @@ acpi_ex_dump_operands(union acpi_operand_object **operands, | |||
778 | * PARAMETERS: title - Descriptive text | 778 | * PARAMETERS: title - Descriptive text |
779 | * value - Value to be displayed | 779 | * value - Value to be displayed |
780 | * | 780 | * |
781 | * DESCRIPTION: Object dump output formatting functions. These functions | 781 | * DESCRIPTION: Object dump output formatting functions. These functions |
782 | * reduce the number of format strings required and keeps them | 782 | * reduce the number of format strings required and keeps them |
783 | * all in one place for easy modification. | 783 | * all in one place for easy modification. |
784 | * | 784 | * |
diff --git a/drivers/acpi/acpica/exfield.c b/drivers/acpi/acpica/exfield.c index dc092f5b35d6..ebc55fbf3ff7 100644 --- a/drivers/acpi/acpica/exfield.c +++ b/drivers/acpi/acpica/exfield.c | |||
@@ -59,7 +59,7 @@ ACPI_MODULE_NAME("exfield") | |||
59 | * | 59 | * |
60 | * RETURN: Status | 60 | * RETURN: Status |
61 | * | 61 | * |
62 | * DESCRIPTION: Read from a named field. Returns either an Integer or a | 62 | * DESCRIPTION: Read from a named field. Returns either an Integer or a |
63 | * Buffer, depending on the size of the field. | 63 | * Buffer, depending on the size of the field. |
64 | * | 64 | * |
65 | ******************************************************************************/ | 65 | ******************************************************************************/ |
@@ -149,7 +149,7 @@ acpi_ex_read_data_from_field(struct acpi_walk_state *walk_state, | |||
149 | * Allocate a buffer for the contents of the field. | 149 | * Allocate a buffer for the contents of the field. |
150 | * | 150 | * |
151 | * If the field is larger than the current integer width, create | 151 | * If the field is larger than the current integer width, create |
152 | * a BUFFER to hold it. Otherwise, use an INTEGER. This allows | 152 | * a BUFFER to hold it. Otherwise, use an INTEGER. This allows |
153 | * the use of arithmetic operators on the returned value if the | 153 | * the use of arithmetic operators on the returned value if the |
154 | * field size is equal or smaller than an Integer. | 154 | * field size is equal or smaller than an Integer. |
155 | * | 155 | * |
diff --git a/drivers/acpi/acpica/exfldio.c b/drivers/acpi/acpica/exfldio.c index 419148a66e71..aa2ccfb7cb61 100644 --- a/drivers/acpi/acpica/exfldio.c +++ b/drivers/acpi/acpica/exfldio.c | |||
@@ -154,7 +154,7 @@ acpi_ex_setup_region(union acpi_operand_object *obj_desc, | |||
154 | #endif | 154 | #endif |
155 | 155 | ||
156 | /* | 156 | /* |
157 | * Validate the request. The entire request from the byte offset for a | 157 | * Validate the request. The entire request from the byte offset for a |
158 | * length of one field datum (access width) must fit within the region. | 158 | * length of one field datum (access width) must fit within the region. |
159 | * (Region length is specified in bytes) | 159 | * (Region length is specified in bytes) |
160 | */ | 160 | */ |
@@ -182,7 +182,7 @@ acpi_ex_setup_region(union acpi_operand_object *obj_desc, | |||
182 | obj_desc->common_field.access_byte_width) { | 182 | obj_desc->common_field.access_byte_width) { |
183 | /* | 183 | /* |
184 | * This is the case where the access_type (acc_word, etc.) is wider | 184 | * This is the case where the access_type (acc_word, etc.) is wider |
185 | * than the region itself. For example, a region of length one | 185 | * than the region itself. For example, a region of length one |
186 | * byte, and a field with Dword access specified. | 186 | * byte, and a field with Dword access specified. |
187 | */ | 187 | */ |
188 | ACPI_ERROR((AE_INFO, | 188 | ACPI_ERROR((AE_INFO, |
@@ -320,7 +320,7 @@ acpi_ex_access_region(union acpi_operand_object *obj_desc, | |||
320 | * | 320 | * |
321 | * DESCRIPTION: Check if a value is out of range of the field being written. | 321 | * DESCRIPTION: Check if a value is out of range of the field being written. |
322 | * Used to check if the values written to Index and Bank registers | 322 | * Used to check if the values written to Index and Bank registers |
323 | * are out of range. Normally, the value is simply truncated | 323 | * are out of range. Normally, the value is simply truncated |
324 | * to fit the field, but this case is most likely a serious | 324 | * to fit the field, but this case is most likely a serious |
325 | * coding error in the ASL. | 325 | * coding error in the ASL. |
326 | * | 326 | * |
@@ -369,7 +369,7 @@ acpi_ex_register_overflow(union acpi_operand_object *obj_desc, u64 value) | |||
369 | * | 369 | * |
370 | * RETURN: Status | 370 | * RETURN: Status |
371 | * | 371 | * |
372 | * DESCRIPTION: Read or Write a single datum of a field. The field_type is | 372 | * DESCRIPTION: Read or Write a single datum of a field. The field_type is |
373 | * demultiplexed here to handle the different types of fields | 373 | * demultiplexed here to handle the different types of fields |
374 | * (buffer_field, region_field, index_field, bank_field) | 374 | * (buffer_field, region_field, index_field, bank_field) |
375 | * | 375 | * |
@@ -859,7 +859,7 @@ acpi_ex_insert_into_field(union acpi_operand_object *obj_desc, | |||
859 | ACPI_ROUND_BITS_UP_TO_BYTES(obj_desc->common_field.bit_length); | 859 | ACPI_ROUND_BITS_UP_TO_BYTES(obj_desc->common_field.bit_length); |
860 | /* | 860 | /* |
861 | * We must have a buffer that is at least as long as the field | 861 | * We must have a buffer that is at least as long as the field |
862 | * we are writing to. This is because individual fields are | 862 | * we are writing to. This is because individual fields are |
863 | * indivisible and partial writes are not supported -- as per | 863 | * indivisible and partial writes are not supported -- as per |
864 | * the ACPI specification. | 864 | * the ACPI specification. |
865 | */ | 865 | */ |
@@ -874,7 +874,7 @@ acpi_ex_insert_into_field(union acpi_operand_object *obj_desc, | |||
874 | 874 | ||
875 | /* | 875 | /* |
876 | * Copy the original data to the new buffer, starting | 876 | * Copy the original data to the new buffer, starting |
877 | * at Byte zero. All unused (upper) bytes of the | 877 | * at Byte zero. All unused (upper) bytes of the |
878 | * buffer will be 0. | 878 | * buffer will be 0. |
879 | */ | 879 | */ |
880 | ACPI_MEMCPY((char *)new_buffer, (char *)buffer, buffer_length); | 880 | ACPI_MEMCPY((char *)new_buffer, (char *)buffer, buffer_length); |
diff --git a/drivers/acpi/acpica/exmisc.c b/drivers/acpi/acpica/exmisc.c index 15e1abd19136..84058705ed12 100644 --- a/drivers/acpi/acpica/exmisc.c +++ b/drivers/acpi/acpica/exmisc.c | |||
@@ -253,7 +253,7 @@ acpi_ex_do_concatenate(union acpi_operand_object *operand0, | |||
253 | ACPI_FUNCTION_TRACE(ex_do_concatenate); | 253 | ACPI_FUNCTION_TRACE(ex_do_concatenate); |
254 | 254 | ||
255 | /* | 255 | /* |
256 | * Convert the second operand if necessary. The first operand | 256 | * Convert the second operand if necessary. The first operand |
257 | * determines the type of the second operand, (See the Data Types | 257 | * determines the type of the second operand, (See the Data Types |
258 | * section of the ACPI specification.) Both object types are | 258 | * section of the ACPI specification.) Both object types are |
259 | * guaranteed to be either Integer/String/Buffer by the operand | 259 | * guaranteed to be either Integer/String/Buffer by the operand |
@@ -572,7 +572,7 @@ acpi_ex_do_logical_op(u16 opcode, | |||
572 | ACPI_FUNCTION_TRACE(ex_do_logical_op); | 572 | ACPI_FUNCTION_TRACE(ex_do_logical_op); |
573 | 573 | ||
574 | /* | 574 | /* |
575 | * Convert the second operand if necessary. The first operand | 575 | * Convert the second operand if necessary. The first operand |
576 | * determines the type of the second operand, (See the Data Types | 576 | * determines the type of the second operand, (See the Data Types |
577 | * section of the ACPI 3.0+ specification.) Both object types are | 577 | * section of the ACPI 3.0+ specification.) Both object types are |
578 | * guaranteed to be either Integer/String/Buffer by the operand | 578 | * guaranteed to be either Integer/String/Buffer by the operand |
diff --git a/drivers/acpi/acpica/exnames.c b/drivers/acpi/acpica/exnames.c index a41c82fe2d3d..2ff578a16adc 100644 --- a/drivers/acpi/acpica/exnames.c +++ b/drivers/acpi/acpica/exnames.c | |||
@@ -62,7 +62,7 @@ static acpi_status acpi_ex_name_segment(u8 **in_aml_address, char *name_string); | |||
62 | * (-1)==root, 0==none | 62 | * (-1)==root, 0==none |
63 | * num_name_segs - count of 4-character name segments | 63 | * num_name_segs - count of 4-character name segments |
64 | * | 64 | * |
65 | * RETURN: A pointer to the allocated string segment. This segment must | 65 | * RETURN: A pointer to the allocated string segment. This segment must |
66 | * be deleted by the caller. | 66 | * be deleted by the caller. |
67 | * | 67 | * |
68 | * DESCRIPTION: Allocate a buffer for a name string. Ensure allocated name | 68 | * DESCRIPTION: Allocate a buffer for a name string. Ensure allocated name |
diff --git a/drivers/acpi/acpica/exoparg1.c b/drivers/acpi/acpica/exoparg1.c index c6490d609194..bbf01e9bf057 100644 --- a/drivers/acpi/acpica/exoparg1.c +++ b/drivers/acpi/acpica/exoparg1.c | |||
@@ -605,7 +605,7 @@ acpi_status acpi_ex_opcode_1A_0T_1R(struct acpi_walk_state *walk_state) | |||
605 | } | 605 | } |
606 | 606 | ||
607 | /* | 607 | /* |
608 | * Set result to ONES (TRUE) if Value == 0. Note: | 608 | * Set result to ONES (TRUE) if Value == 0. Note: |
609 | * return_desc->Integer.Value is initially == 0 (FALSE) from above. | 609 | * return_desc->Integer.Value is initially == 0 (FALSE) from above. |
610 | */ | 610 | */ |
611 | if (!operand[0]->integer.value) { | 611 | if (!operand[0]->integer.value) { |
@@ -617,7 +617,7 @@ acpi_status acpi_ex_opcode_1A_0T_1R(struct acpi_walk_state *walk_state) | |||
617 | case AML_INCREMENT_OP: /* Increment (Operand) */ | 617 | case AML_INCREMENT_OP: /* Increment (Operand) */ |
618 | 618 | ||
619 | /* | 619 | /* |
620 | * Create a new integer. Can't just get the base integer and | 620 | * Create a new integer. Can't just get the base integer and |
621 | * increment it because it may be an Arg or Field. | 621 | * increment it because it may be an Arg or Field. |
622 | */ | 622 | */ |
623 | return_desc = acpi_ut_create_internal_object(ACPI_TYPE_INTEGER); | 623 | return_desc = acpi_ut_create_internal_object(ACPI_TYPE_INTEGER); |
@@ -685,7 +685,7 @@ acpi_status acpi_ex_opcode_1A_0T_1R(struct acpi_walk_state *walk_state) | |||
685 | 685 | ||
686 | /* | 686 | /* |
687 | * Note: The operand is not resolved at this point because we want to | 687 | * Note: The operand is not resolved at this point because we want to |
688 | * get the associated object, not its value. For example, we don't | 688 | * get the associated object, not its value. For example, we don't |
689 | * want to resolve a field_unit to its value, we want the actual | 689 | * want to resolve a field_unit to its value, we want the actual |
690 | * field_unit object. | 690 | * field_unit object. |
691 | */ | 691 | */ |
@@ -726,7 +726,7 @@ acpi_status acpi_ex_opcode_1A_0T_1R(struct acpi_walk_state *walk_state) | |||
726 | 726 | ||
727 | /* | 727 | /* |
728 | * The type of the base object must be integer, buffer, string, or | 728 | * The type of the base object must be integer, buffer, string, or |
729 | * package. All others are not supported. | 729 | * package. All others are not supported. |
730 | * | 730 | * |
731 | * NOTE: Integer is not specifically supported by the ACPI spec, | 731 | * NOTE: Integer is not specifically supported by the ACPI spec, |
732 | * but is supported implicitly via implicit operand conversion. | 732 | * but is supported implicitly via implicit operand conversion. |
@@ -964,7 +964,7 @@ acpi_status acpi_ex_opcode_1A_0T_1R(struct acpi_walk_state *walk_state) | |||
964 | case ACPI_TYPE_PACKAGE: | 964 | case ACPI_TYPE_PACKAGE: |
965 | 965 | ||
966 | /* | 966 | /* |
967 | * Return the referenced element of the package. We must | 967 | * Return the referenced element of the package. We must |
968 | * add another reference to the referenced object, however. | 968 | * add another reference to the referenced object, however. |
969 | */ | 969 | */ |
970 | return_desc = | 970 | return_desc = |
diff --git a/drivers/acpi/acpica/exoparg2.c b/drivers/acpi/acpica/exoparg2.c index 879e8a277b94..ee5634a074c4 100644 --- a/drivers/acpi/acpica/exoparg2.c +++ b/drivers/acpi/acpica/exoparg2.c | |||
@@ -123,7 +123,7 @@ acpi_status acpi_ex_opcode_2A_0T_0R(struct acpi_walk_state *walk_state) | |||
123 | /* | 123 | /* |
124 | * Dispatch the notify to the appropriate handler | 124 | * Dispatch the notify to the appropriate handler |
125 | * NOTE: the request is queued for execution after this method | 125 | * NOTE: the request is queued for execution after this method |
126 | * completes. The notify handlers are NOT invoked synchronously | 126 | * completes. The notify handlers are NOT invoked synchronously |
127 | * from this thread -- because handlers may in turn run other | 127 | * from this thread -- because handlers may in turn run other |
128 | * control methods. | 128 | * control methods. |
129 | */ | 129 | */ |
diff --git a/drivers/acpi/acpica/exoparg3.c b/drivers/acpi/acpica/exoparg3.c index 00b19bfe5b5d..2c89b4651f08 100644 --- a/drivers/acpi/acpica/exoparg3.c +++ b/drivers/acpi/acpica/exoparg3.c | |||
@@ -157,7 +157,7 @@ acpi_status acpi_ex_opcode_3A_1T_1R(struct acpi_walk_state *walk_state) | |||
157 | case AML_MID_OP: /* Mid (Source[0], Index[1], Length[2], Result[3]) */ | 157 | case AML_MID_OP: /* Mid (Source[0], Index[1], Length[2], Result[3]) */ |
158 | 158 | ||
159 | /* | 159 | /* |
160 | * Create the return object. The Source operand is guaranteed to be | 160 | * Create the return object. The Source operand is guaranteed to be |
161 | * either a String or a Buffer, so just use its type. | 161 | * either a String or a Buffer, so just use its type. |
162 | */ | 162 | */ |
163 | return_desc = acpi_ut_create_internal_object((operand[0])-> | 163 | return_desc = acpi_ut_create_internal_object((operand[0])-> |
diff --git a/drivers/acpi/acpica/exoparg6.c b/drivers/acpi/acpica/exoparg6.c index 98188555e781..3e08695c3b30 100644 --- a/drivers/acpi/acpica/exoparg6.c +++ b/drivers/acpi/acpica/exoparg6.c | |||
@@ -268,7 +268,7 @@ acpi_status acpi_ex_opcode_6A_0T_1R(struct acpi_walk_state * walk_state) | |||
268 | * and the next should be examined. | 268 | * and the next should be examined. |
269 | * | 269 | * |
270 | * Upon finding a match, the loop will terminate via "break" at | 270 | * Upon finding a match, the loop will terminate via "break" at |
271 | * the bottom. If it terminates "normally", match_value will be | 271 | * the bottom. If it terminates "normally", match_value will be |
272 | * ACPI_UINT64_MAX (Ones) (its initial value) indicating that no | 272 | * ACPI_UINT64_MAX (Ones) (its initial value) indicating that no |
273 | * match was found. | 273 | * match was found. |
274 | */ | 274 | */ |
diff --git a/drivers/acpi/acpica/exprep.c b/drivers/acpi/acpica/exprep.c index 958924808766..ba9db4de7c89 100644 --- a/drivers/acpi/acpica/exprep.c +++ b/drivers/acpi/acpica/exprep.c | |||
@@ -77,8 +77,8 @@ acpi_ex_generate_access(u32 field_bit_offset, | |||
77 | * any_acc keyword. | 77 | * any_acc keyword. |
78 | * | 78 | * |
79 | * NOTE: Need to have the region_length in order to check for boundary | 79 | * NOTE: Need to have the region_length in order to check for boundary |
80 | * conditions (end-of-region). However, the region_length is a deferred | 80 | * conditions (end-of-region). However, the region_length is a deferred |
81 | * operation. Therefore, to complete this implementation, the generation | 81 | * operation. Therefore, to complete this implementation, the generation |
82 | * of this access width must be deferred until the region length has | 82 | * of this access width must be deferred until the region length has |
83 | * been evaluated. | 83 | * been evaluated. |
84 | * | 84 | * |
@@ -307,7 +307,7 @@ acpi_ex_decode_field_access(union acpi_operand_object *obj_desc, | |||
307 | * RETURN: Status | 307 | * RETURN: Status |
308 | * | 308 | * |
309 | * DESCRIPTION: Initialize the areas of the field object that are common | 309 | * DESCRIPTION: Initialize the areas of the field object that are common |
310 | * to the various types of fields. Note: This is very "sensitive" | 310 | * to the various types of fields. Note: This is very "sensitive" |
311 | * code because we are solving the general case for field | 311 | * code because we are solving the general case for field |
312 | * alignment. | 312 | * alignment. |
313 | * | 313 | * |
@@ -335,13 +335,13 @@ acpi_ex_prep_common_field_object(union acpi_operand_object *obj_desc, | |||
335 | obj_desc->common_field.bit_length = field_bit_length; | 335 | obj_desc->common_field.bit_length = field_bit_length; |
336 | 336 | ||
337 | /* | 337 | /* |
338 | * Decode the access type so we can compute offsets. The access type gives | 338 | * Decode the access type so we can compute offsets. The access type gives |
339 | * two pieces of information - the width of each field access and the | 339 | * two pieces of information - the width of each field access and the |
340 | * necessary byte_alignment (address granularity) of the access. | 340 | * necessary byte_alignment (address granularity) of the access. |
341 | * | 341 | * |
342 | * For any_acc, the access_bit_width is the largest width that is both | 342 | * For any_acc, the access_bit_width is the largest width that is both |
343 | * necessary and possible in an attempt to access the whole field in one | 343 | * necessary and possible in an attempt to access the whole field in one |
344 | * I/O operation. However, for any_acc, the byte_alignment is always one | 344 | * I/O operation. However, for any_acc, the byte_alignment is always one |
345 | * byte. | 345 | * byte. |
346 | * | 346 | * |
347 | * For all Buffer Fields, the byte_alignment is always one byte. | 347 | * For all Buffer Fields, the byte_alignment is always one byte. |
@@ -362,7 +362,7 @@ acpi_ex_prep_common_field_object(union acpi_operand_object *obj_desc, | |||
362 | 362 | ||
363 | /* | 363 | /* |
364 | * base_byte_offset is the address of the start of the field within the | 364 | * base_byte_offset is the address of the start of the field within the |
365 | * region. It is the byte address of the first *datum* (field-width data | 365 | * region. It is the byte address of the first *datum* (field-width data |
366 | * unit) of the field. (i.e., the first datum that contains at least the | 366 | * unit) of the field. (i.e., the first datum that contains at least the |
367 | * first *bit* of the field.) | 367 | * first *bit* of the field.) |
368 | * | 368 | * |
diff --git a/drivers/acpi/acpica/exregion.c b/drivers/acpi/acpica/exregion.c index b41e333eb8f3..1db2c0bfde0b 100644 --- a/drivers/acpi/acpica/exregion.c +++ b/drivers/acpi/acpica/exregion.c | |||
@@ -201,7 +201,7 @@ acpi_ex_system_memory_space_handler(u32 function, | |||
201 | * Perform the memory read or write | 201 | * Perform the memory read or write |
202 | * | 202 | * |
203 | * Note: For machines that do not support non-aligned transfers, the target | 203 | * Note: For machines that do not support non-aligned transfers, the target |
204 | * address was checked for alignment above. We do not attempt to break the | 204 | * address was checked for alignment above. We do not attempt to break the |
205 | * transfer up into smaller (byte-size) chunks because the AML specifically | 205 | * transfer up into smaller (byte-size) chunks because the AML specifically |
206 | * asked for a transfer width that the hardware may require. | 206 | * asked for a transfer width that the hardware may require. |
207 | */ | 207 | */ |
diff --git a/drivers/acpi/acpica/exresnte.c b/drivers/acpi/acpica/exresnte.c index 1cb057fe8172..6239956786eb 100644 --- a/drivers/acpi/acpica/exresnte.c +++ b/drivers/acpi/acpica/exresnte.c | |||
@@ -57,8 +57,8 @@ ACPI_MODULE_NAME("exresnte") | |||
57 | * PARAMETERS: object_ptr - Pointer to a location that contains | 57 | * PARAMETERS: object_ptr - Pointer to a location that contains |
58 | * a pointer to a NS node, and will receive a | 58 | * a pointer to a NS node, and will receive a |
59 | * pointer to the resolved object. | 59 | * pointer to the resolved object. |
60 | * walk_state - Current state. Valid only if executing AML | 60 | * walk_state - Current state. Valid only if executing AML |
61 | * code. NULL if simply resolving an object | 61 | * code. NULL if simply resolving an object |
62 | * | 62 | * |
63 | * RETURN: Status | 63 | * RETURN: Status |
64 | * | 64 | * |
@@ -66,7 +66,7 @@ ACPI_MODULE_NAME("exresnte") | |||
66 | * | 66 | * |
67 | * Note: for some of the data types, the pointer attached to the Node | 67 | * Note: for some of the data types, the pointer attached to the Node |
68 | * can be either a pointer to an actual internal object or a pointer into the | 68 | * can be either a pointer to an actual internal object or a pointer into the |
69 | * AML stream itself. These types are currently: | 69 | * AML stream itself. These types are currently: |
70 | * | 70 | * |
71 | * ACPI_TYPE_INTEGER | 71 | * ACPI_TYPE_INTEGER |
72 | * ACPI_TYPE_STRING | 72 | * ACPI_TYPE_STRING |
@@ -88,7 +88,7 @@ acpi_ex_resolve_node_to_value(struct acpi_namespace_node **object_ptr, | |||
88 | ACPI_FUNCTION_TRACE(ex_resolve_node_to_value); | 88 | ACPI_FUNCTION_TRACE(ex_resolve_node_to_value); |
89 | 89 | ||
90 | /* | 90 | /* |
91 | * The stack pointer points to a struct acpi_namespace_node (Node). Get the | 91 | * The stack pointer points to a struct acpi_namespace_node (Node). Get the |
92 | * object that is attached to the Node. | 92 | * object that is attached to the Node. |
93 | */ | 93 | */ |
94 | node = *object_ptr; | 94 | node = *object_ptr; |
diff --git a/drivers/acpi/acpica/exresolv.c b/drivers/acpi/acpica/exresolv.c index ae199e7cdfbb..cc176b245e22 100644 --- a/drivers/acpi/acpica/exresolv.c +++ b/drivers/acpi/acpica/exresolv.c | |||
@@ -326,7 +326,7 @@ acpi_ex_resolve_object_to_value(union acpi_operand_object **stack_ptr, | |||
326 | * | 326 | * |
327 | * RETURN: Status | 327 | * RETURN: Status |
328 | * | 328 | * |
329 | * DESCRIPTION: Return the base object and type. Traverse a reference list if | 329 | * DESCRIPTION: Return the base object and type. Traverse a reference list if |
330 | * necessary to get to the base object. | 330 | * necessary to get to the base object. |
331 | * | 331 | * |
332 | ******************************************************************************/ | 332 | ******************************************************************************/ |
diff --git a/drivers/acpi/acpica/exresop.c b/drivers/acpi/acpica/exresop.c index 04b70b38ebd5..b9ebff2f6a09 100644 --- a/drivers/acpi/acpica/exresop.c +++ b/drivers/acpi/acpica/exresop.c | |||
@@ -86,7 +86,7 @@ acpi_ex_check_object_type(acpi_object_type type_needed, | |||
86 | if (type_needed == ACPI_TYPE_LOCAL_REFERENCE) { | 86 | if (type_needed == ACPI_TYPE_LOCAL_REFERENCE) { |
87 | /* | 87 | /* |
88 | * Allow the AML "Constant" opcodes (Zero, One, etc.) to be reference | 88 | * Allow the AML "Constant" opcodes (Zero, One, etc.) to be reference |
89 | * objects and thus allow them to be targets. (As per the ACPI | 89 | * objects and thus allow them to be targets. (As per the ACPI |
90 | * specification, a store to a constant is a noop.) | 90 | * specification, a store to a constant is a noop.) |
91 | */ | 91 | */ |
92 | if ((this_type == ACPI_TYPE_INTEGER) && | 92 | if ((this_type == ACPI_TYPE_INTEGER) && |
@@ -638,7 +638,7 @@ acpi_ex_resolve_operands(u16 opcode, | |||
638 | if (acpi_gbl_enable_interpreter_slack) { | 638 | if (acpi_gbl_enable_interpreter_slack) { |
639 | /* | 639 | /* |
640 | * Enable original behavior of Store(), allowing any and all | 640 | * Enable original behavior of Store(), allowing any and all |
641 | * objects as the source operand. The ACPI spec does not | 641 | * objects as the source operand. The ACPI spec does not |
642 | * allow this, however. | 642 | * allow this, however. |
643 | */ | 643 | */ |
644 | break; | 644 | break; |
diff --git a/drivers/acpi/acpica/exstore.c b/drivers/acpi/acpica/exstore.c index 5fffe7ab5ece..90431f12f831 100644 --- a/drivers/acpi/acpica/exstore.c +++ b/drivers/acpi/acpica/exstore.c | |||
@@ -374,7 +374,7 @@ acpi_ex_store_object_to_index(union acpi_operand_object *source_desc, | |||
374 | * with the input value. | 374 | * with the input value. |
375 | * | 375 | * |
376 | * When storing into an object the data is converted to the | 376 | * When storing into an object the data is converted to the |
377 | * target object type then stored in the object. This means | 377 | * target object type then stored in the object. This means |
378 | * that the target object type (for an initialized target) will | 378 | * that the target object type (for an initialized target) will |
379 | * not be changed by a store operation. | 379 | * not be changed by a store operation. |
380 | * | 380 | * |
@@ -491,7 +491,7 @@ acpi_ex_store_object_to_node(union acpi_operand_object *source_desc, | |||
491 | acpi_ut_get_object_type_name(source_desc), | 491 | acpi_ut_get_object_type_name(source_desc), |
492 | source_desc, node)); | 492 | source_desc, node)); |
493 | 493 | ||
494 | /* No conversions for all other types. Just attach the source object */ | 494 | /* No conversions for all other types. Just attach the source object */ |
495 | 495 | ||
496 | status = acpi_ns_attach_object(node, source_desc, | 496 | status = acpi_ns_attach_object(node, source_desc, |
497 | source_desc->common.type); | 497 | source_desc->common.type); |
diff --git a/drivers/acpi/acpica/exstoren.c b/drivers/acpi/acpica/exstoren.c index 6fe6eacb3724..87153bbc4b43 100644 --- a/drivers/acpi/acpica/exstoren.c +++ b/drivers/acpi/acpica/exstoren.c | |||
@@ -60,7 +60,7 @@ ACPI_MODULE_NAME("exstoren") | |||
60 | * | 60 | * |
61 | * RETURN: Status, resolved object in source_desc_ptr. | 61 | * RETURN: Status, resolved object in source_desc_ptr. |
62 | * | 62 | * |
63 | * DESCRIPTION: Resolve an object. If the object is a reference, dereference | 63 | * DESCRIPTION: Resolve an object. If the object is a reference, dereference |
64 | * it and return the actual object in the source_desc_ptr. | 64 | * it and return the actual object in the source_desc_ptr. |
65 | * | 65 | * |
66 | ******************************************************************************/ | 66 | ******************************************************************************/ |
@@ -92,7 +92,7 @@ acpi_ex_resolve_object(union acpi_operand_object **source_desc_ptr, | |||
92 | 92 | ||
93 | /* | 93 | /* |
94 | * Stores into a Field/Region or into a Integer/Buffer/String | 94 | * Stores into a Field/Region or into a Integer/Buffer/String |
95 | * are all essentially the same. This case handles the | 95 | * are all essentially the same. This case handles the |
96 | * "interchangeable" types Integer, String, and Buffer. | 96 | * "interchangeable" types Integer, String, and Buffer. |
97 | */ | 97 | */ |
98 | if (source_desc->common.type == ACPI_TYPE_LOCAL_REFERENCE) { | 98 | if (source_desc->common.type == ACPI_TYPE_LOCAL_REFERENCE) { |
@@ -166,7 +166,7 @@ acpi_ex_resolve_object(union acpi_operand_object **source_desc_ptr, | |||
166 | * | 166 | * |
167 | * RETURN: Status | 167 | * RETURN: Status |
168 | * | 168 | * |
169 | * DESCRIPTION: "Store" an object to another object. This may include | 169 | * DESCRIPTION: "Store" an object to another object. This may include |
170 | * converting the source type to the target type (implicit | 170 | * converting the source type to the target type (implicit |
171 | * conversion), and a copy of the value of the source to | 171 | * conversion), and a copy of the value of the source to |
172 | * the target. | 172 | * the target. |
@@ -177,14 +177,14 @@ acpi_ex_resolve_object(union acpi_operand_object **source_desc_ptr, | |||
177 | * with the input value. | 177 | * with the input value. |
178 | * | 178 | * |
179 | * When storing into an object the data is converted to the | 179 | * When storing into an object the data is converted to the |
180 | * target object type then stored in the object. This means | 180 | * target object type then stored in the object. This means |
181 | * that the target object type (for an initialized target) will | 181 | * that the target object type (for an initialized target) will |
182 | * not be changed by a store operation. | 182 | * not be changed by a store operation. |
183 | * | 183 | * |
184 | * This module allows destination types of Number, String, | 184 | * This module allows destination types of Number, String, |
185 | * Buffer, and Package. | 185 | * Buffer, and Package. |
186 | * | 186 | * |
187 | * Assumes parameters are already validated. NOTE: source_desc | 187 | * Assumes parameters are already validated. NOTE: source_desc |
188 | * resolution (from a reference object) must be performed by | 188 | * resolution (from a reference object) must be performed by |
189 | * the caller if necessary. | 189 | * the caller if necessary. |
190 | * | 190 | * |
diff --git a/drivers/acpi/acpica/exstorob.c b/drivers/acpi/acpica/exstorob.c index b9ac30c11b5d..b5f339cb1305 100644 --- a/drivers/acpi/acpica/exstorob.c +++ b/drivers/acpi/acpica/exstorob.c | |||
@@ -107,7 +107,7 @@ acpi_ex_store_buffer_to_buffer(union acpi_operand_object *source_desc, | |||
107 | #ifdef ACPI_OBSOLETE_BEHAVIOR | 107 | #ifdef ACPI_OBSOLETE_BEHAVIOR |
108 | /* | 108 | /* |
109 | * NOTE: ACPI versions up to 3.0 specified that the buffer must be | 109 | * NOTE: ACPI versions up to 3.0 specified that the buffer must be |
110 | * truncated if the string is smaller than the buffer. However, "other" | 110 | * truncated if the string is smaller than the buffer. However, "other" |
111 | * implementations of ACPI never did this and thus became the defacto | 111 | * implementations of ACPI never did this and thus became the defacto |
112 | * standard. ACPI 3.0A changes this behavior such that the buffer | 112 | * standard. ACPI 3.0A changes this behavior such that the buffer |
113 | * is no longer truncated. | 113 | * is no longer truncated. |
@@ -116,7 +116,7 @@ acpi_ex_store_buffer_to_buffer(union acpi_operand_object *source_desc, | |||
116 | /* | 116 | /* |
117 | * OBSOLETE BEHAVIOR: | 117 | * OBSOLETE BEHAVIOR: |
118 | * If the original source was a string, we must truncate the buffer, | 118 | * If the original source was a string, we must truncate the buffer, |
119 | * according to the ACPI spec. Integer-to-Buffer and Buffer-to-Buffer | 119 | * according to the ACPI spec. Integer-to-Buffer and Buffer-to-Buffer |
120 | * copy must not truncate the original buffer. | 120 | * copy must not truncate the original buffer. |
121 | */ | 121 | */ |
122 | if (original_src_type == ACPI_TYPE_STRING) { | 122 | if (original_src_type == ACPI_TYPE_STRING) { |
diff --git a/drivers/acpi/acpica/exsystem.c b/drivers/acpi/acpica/exsystem.c index 2d6d8bc12edb..c8a0ad5c1f55 100644 --- a/drivers/acpi/acpica/exsystem.c +++ b/drivers/acpi/acpica/exsystem.c | |||
@@ -58,7 +58,7 @@ ACPI_MODULE_NAME("exsystem") | |||
58 | * RETURN: Status | 58 | * RETURN: Status |
59 | * | 59 | * |
60 | * DESCRIPTION: Implements a semaphore wait with a check to see if the | 60 | * DESCRIPTION: Implements a semaphore wait with a check to see if the |
61 | * semaphore is available immediately. If it is not, the | 61 | * semaphore is available immediately. If it is not, the |
62 | * interpreter is released before waiting. | 62 | * interpreter is released before waiting. |
63 | * | 63 | * |
64 | ******************************************************************************/ | 64 | ******************************************************************************/ |
@@ -103,7 +103,7 @@ acpi_status acpi_ex_system_wait_semaphore(acpi_semaphore semaphore, u16 timeout) | |||
103 | * RETURN: Status | 103 | * RETURN: Status |
104 | * | 104 | * |
105 | * DESCRIPTION: Implements a mutex wait with a check to see if the | 105 | * DESCRIPTION: Implements a mutex wait with a check to see if the |
106 | * mutex is available immediately. If it is not, the | 106 | * mutex is available immediately. If it is not, the |
107 | * interpreter is released before waiting. | 107 | * interpreter is released before waiting. |
108 | * | 108 | * |
109 | ******************************************************************************/ | 109 | ******************************************************************************/ |
@@ -151,7 +151,7 @@ acpi_status acpi_ex_system_wait_mutex(acpi_mutex mutex, u16 timeout) | |||
151 | * DESCRIPTION: Suspend running thread for specified amount of time. | 151 | * DESCRIPTION: Suspend running thread for specified amount of time. |
152 | * Note: ACPI specification requires that Stall() does not | 152 | * Note: ACPI specification requires that Stall() does not |
153 | * relinquish the processor, and delays longer than 100 usec | 153 | * relinquish the processor, and delays longer than 100 usec |
154 | * should use Sleep() instead. We allow stalls up to 255 usec | 154 | * should use Sleep() instead. We allow stalls up to 255 usec |
155 | * for compatibility with other interpreters and existing BIOSs. | 155 | * for compatibility with other interpreters and existing BIOSs. |
156 | * | 156 | * |
157 | ******************************************************************************/ | 157 | ******************************************************************************/ |
@@ -253,7 +253,7 @@ acpi_status acpi_ex_system_signal_event(union acpi_operand_object * obj_desc) | |||
253 | * RETURN: Status | 253 | * RETURN: Status |
254 | * | 254 | * |
255 | * DESCRIPTION: Provides an access point to perform synchronization operations | 255 | * DESCRIPTION: Provides an access point to perform synchronization operations |
256 | * within the AML. This operation is a request to wait for an | 256 | * within the AML. This operation is a request to wait for an |
257 | * event. | 257 | * event. |
258 | * | 258 | * |
259 | ******************************************************************************/ | 259 | ******************************************************************************/ |
diff --git a/drivers/acpi/acpica/exutils.c b/drivers/acpi/acpica/exutils.c index ff291e626ec9..264d22d8018c 100644 --- a/drivers/acpi/acpica/exutils.c +++ b/drivers/acpi/acpica/exutils.c | |||
@@ -44,12 +44,12 @@ | |||
44 | /* | 44 | /* |
45 | * DEFINE_AML_GLOBALS is tested in amlcode.h | 45 | * DEFINE_AML_GLOBALS is tested in amlcode.h |
46 | * to determine whether certain global names should be "defined" or only | 46 | * to determine whether certain global names should be "defined" or only |
47 | * "declared" in the current compilation. This enhances maintainability | 47 | * "declared" in the current compilation. This enhances maintainability |
48 | * by enabling a single header file to embody all knowledge of the names | 48 | * by enabling a single header file to embody all knowledge of the names |
49 | * in question. | 49 | * in question. |
50 | * | 50 | * |
51 | * Exactly one module of any executable should #define DEFINE_GLOBALS | 51 | * Exactly one module of any executable should #define DEFINE_GLOBALS |
52 | * before #including the header files which use this convention. The | 52 | * before #including the header files which use this convention. The |
53 | * names in question will be defined and initialized in that module, | 53 | * names in question will be defined and initialized in that module, |
54 | * and declared as extern in all other modules which #include those | 54 | * and declared as extern in all other modules which #include those |
55 | * header files. | 55 | * header files. |
diff --git a/drivers/acpi/acpica/hwacpi.c b/drivers/acpi/acpica/hwacpi.c index bcf931ca1927..90a9aea1cee9 100644 --- a/drivers/acpi/acpica/hwacpi.c +++ b/drivers/acpi/acpica/hwacpi.c | |||
@@ -135,7 +135,7 @@ acpi_status acpi_hw_set_mode(u32 mode) | |||
135 | * | 135 | * |
136 | * RETURN: SYS_MODE_ACPI or SYS_MODE_LEGACY | 136 | * RETURN: SYS_MODE_ACPI or SYS_MODE_LEGACY |
137 | * | 137 | * |
138 | * DESCRIPTION: Return current operating state of system. Determined by | 138 | * DESCRIPTION: Return current operating state of system. Determined by |
139 | * querying the SCI_EN bit. | 139 | * querying the SCI_EN bit. |
140 | * | 140 | * |
141 | ******************************************************************************/ | 141 | ******************************************************************************/ |
diff --git a/drivers/acpi/acpica/hwtimer.c b/drivers/acpi/acpica/hwtimer.c index 19f6cce95f16..bfdce22f3798 100644 --- a/drivers/acpi/acpica/hwtimer.c +++ b/drivers/acpi/acpica/hwtimer.c | |||
@@ -127,7 +127,7 @@ ACPI_EXPORT_SYMBOL(acpi_get_timer) | |||
127 | * a versatile and accurate timer. | 127 | * a versatile and accurate timer. |
128 | * | 128 | * |
129 | * Note that this function accommodates only a single timer | 129 | * Note that this function accommodates only a single timer |
130 | * rollover. Thus for 24-bit timers, this function should only | 130 | * rollover. Thus for 24-bit timers, this function should only |
131 | * be used for calculating durations less than ~4.6 seconds | 131 | * be used for calculating durations less than ~4.6 seconds |
132 | * (~20 minutes for 32-bit timers) -- calculations below: | 132 | * (~20 minutes for 32-bit timers) -- calculations below: |
133 | * | 133 | * |
diff --git a/drivers/acpi/acpica/nsalloc.c b/drivers/acpi/acpica/nsalloc.c index ac389e5bb594..15143c44f5e5 100644 --- a/drivers/acpi/acpica/nsalloc.c +++ b/drivers/acpi/acpica/nsalloc.c | |||
@@ -332,7 +332,7 @@ void acpi_ns_delete_children(struct acpi_namespace_node *parent_node) | |||
332 | * | 332 | * |
333 | * RETURN: None. | 333 | * RETURN: None. |
334 | * | 334 | * |
335 | * DESCRIPTION: Delete a subtree of the namespace. This includes all objects | 335 | * DESCRIPTION: Delete a subtree of the namespace. This includes all objects |
336 | * stored within the subtree. | 336 | * stored within the subtree. |
337 | * | 337 | * |
338 | ******************************************************************************/ | 338 | ******************************************************************************/ |
@@ -418,7 +418,7 @@ void acpi_ns_delete_namespace_subtree(struct acpi_namespace_node *parent_node) | |||
418 | * RETURN: Status | 418 | * RETURN: Status |
419 | * | 419 | * |
420 | * DESCRIPTION: Delete entries within the namespace that are owned by a | 420 | * DESCRIPTION: Delete entries within the namespace that are owned by a |
421 | * specific ID. Used to delete entire ACPI tables. All | 421 | * specific ID. Used to delete entire ACPI tables. All |
422 | * reference counts are updated. | 422 | * reference counts are updated. |
423 | * | 423 | * |
424 | * MUTEX: Locks namespace during deletion walk. | 424 | * MUTEX: Locks namespace during deletion walk. |
diff --git a/drivers/acpi/acpica/nsdump.c b/drivers/acpi/acpica/nsdump.c index 993b12417e7f..924b3c71473a 100644 --- a/drivers/acpi/acpica/nsdump.c +++ b/drivers/acpi/acpica/nsdump.c | |||
@@ -692,7 +692,7 @@ void acpi_ns_dump_entry(acpi_handle handle, u32 debug_level) | |||
692 | * | 692 | * |
693 | * PARAMETERS: search_base - Root of subtree to be dumped, or | 693 | * PARAMETERS: search_base - Root of subtree to be dumped, or |
694 | * NS_ALL to dump the entire namespace | 694 | * NS_ALL to dump the entire namespace |
695 | * max_depth - Maximum depth of dump. Use INT_MAX | 695 | * max_depth - Maximum depth of dump. Use INT_MAX |
696 | * for an effectively unlimited depth. | 696 | * for an effectively unlimited depth. |
697 | * | 697 | * |
698 | * RETURN: None | 698 | * RETURN: None |
diff --git a/drivers/acpi/acpica/nsload.c b/drivers/acpi/acpica/nsload.c index 76935ff29289..911f99127b99 100644 --- a/drivers/acpi/acpica/nsload.c +++ b/drivers/acpi/acpica/nsload.c | |||
@@ -80,8 +80,8 @@ acpi_ns_load_table(u32 table_index, struct acpi_namespace_node *node) | |||
80 | 80 | ||
81 | /* | 81 | /* |
82 | * Parse the table and load the namespace with all named | 82 | * Parse the table and load the namespace with all named |
83 | * objects found within. Control methods are NOT parsed | 83 | * objects found within. Control methods are NOT parsed |
84 | * at this time. In fact, the control methods cannot be | 84 | * at this time. In fact, the control methods cannot be |
85 | * parsed until the entire namespace is loaded, because | 85 | * parsed until the entire namespace is loaded, because |
86 | * if a control method makes a forward reference (call) | 86 | * if a control method makes a forward reference (call) |
87 | * to another control method, we can't continue parsing | 87 | * to another control method, we can't continue parsing |
@@ -122,7 +122,7 @@ acpi_ns_load_table(u32 table_index, struct acpi_namespace_node *node) | |||
122 | } | 122 | } |
123 | 123 | ||
124 | /* | 124 | /* |
125 | * Now we can parse the control methods. We always parse | 125 | * Now we can parse the control methods. We always parse |
126 | * them here for a sanity check, and if configured for | 126 | * them here for a sanity check, and if configured for |
127 | * just-in-time parsing, we delete the control method | 127 | * just-in-time parsing, we delete the control method |
128 | * parse trees. | 128 | * parse trees. |
@@ -166,7 +166,7 @@ acpi_status acpi_ns_load_namespace(void) | |||
166 | } | 166 | } |
167 | 167 | ||
168 | /* | 168 | /* |
169 | * Load the namespace. The DSDT is required, | 169 | * Load the namespace. The DSDT is required, |
170 | * but the SSDT and PSDT tables are optional. | 170 | * but the SSDT and PSDT tables are optional. |
171 | */ | 171 | */ |
172 | status = acpi_ns_load_table_by_type(ACPI_TABLE_ID_DSDT); | 172 | status = acpi_ns_load_table_by_type(ACPI_TABLE_ID_DSDT); |
@@ -283,7 +283,7 @@ static acpi_status acpi_ns_delete_subtree(acpi_handle start_handle) | |||
283 | * RETURN: Status | 283 | * RETURN: Status |
284 | * | 284 | * |
285 | * DESCRIPTION: Shrinks the namespace, typically in response to an undocking | 285 | * DESCRIPTION: Shrinks the namespace, typically in response to an undocking |
286 | * event. Deletes an entire subtree starting from (and | 286 | * event. Deletes an entire subtree starting from (and |
287 | * including) the given handle. | 287 | * including) the given handle. |
288 | * | 288 | * |
289 | ******************************************************************************/ | 289 | ******************************************************************************/ |
diff --git a/drivers/acpi/acpica/nsobject.c b/drivers/acpi/acpica/nsobject.c index d6c9a3cc6716..e69f7fa2579d 100644 --- a/drivers/acpi/acpica/nsobject.c +++ b/drivers/acpi/acpica/nsobject.c | |||
@@ -61,7 +61,7 @@ ACPI_MODULE_NAME("nsobject") | |||
61 | * RETURN: Status | 61 | * RETURN: Status |
62 | * | 62 | * |
63 | * DESCRIPTION: Record the given object as the value associated with the | 63 | * DESCRIPTION: Record the given object as the value associated with the |
64 | * name whose acpi_handle is passed. If Object is NULL | 64 | * name whose acpi_handle is passed. If Object is NULL |
65 | * and Type is ACPI_TYPE_ANY, set the name as having no value. | 65 | * and Type is ACPI_TYPE_ANY, set the name as having no value. |
66 | * Note: Future may require that the Node->Flags field be passed | 66 | * Note: Future may require that the Node->Flags field be passed |
67 | * as a parameter. | 67 | * as a parameter. |
@@ -133,7 +133,7 @@ acpi_ns_attach_object(struct acpi_namespace_node *node, | |||
133 | ((struct acpi_namespace_node *)object)->object) { | 133 | ((struct acpi_namespace_node *)object)->object) { |
134 | /* | 134 | /* |
135 | * Value passed is a name handle and that name has a | 135 | * Value passed is a name handle and that name has a |
136 | * non-null value. Use that name's value and type. | 136 | * non-null value. Use that name's value and type. |
137 | */ | 137 | */ |
138 | obj_desc = ((struct acpi_namespace_node *)object)->object; | 138 | obj_desc = ((struct acpi_namespace_node *)object)->object; |
139 | object_type = ((struct acpi_namespace_node *)object)->type; | 139 | object_type = ((struct acpi_namespace_node *)object)->type; |
@@ -321,7 +321,7 @@ union acpi_operand_object *acpi_ns_get_secondary_object(union | |||
321 | * | 321 | * |
322 | * RETURN: Status | 322 | * RETURN: Status |
323 | * | 323 | * |
324 | * DESCRIPTION: Low-level attach data. Create and attach a Data object. | 324 | * DESCRIPTION: Low-level attach data. Create and attach a Data object. |
325 | * | 325 | * |
326 | ******************************************************************************/ | 326 | ******************************************************************************/ |
327 | 327 | ||
@@ -377,7 +377,7 @@ acpi_ns_attach_data(struct acpi_namespace_node *node, | |||
377 | * | 377 | * |
378 | * RETURN: Status | 378 | * RETURN: Status |
379 | * | 379 | * |
380 | * DESCRIPTION: Low-level detach data. Delete the data node, but the caller | 380 | * DESCRIPTION: Low-level detach data. Delete the data node, but the caller |
381 | * is responsible for the actual data. | 381 | * is responsible for the actual data. |
382 | * | 382 | * |
383 | ******************************************************************************/ | 383 | ******************************************************************************/ |
diff --git a/drivers/acpi/acpica/nsparse.c b/drivers/acpi/acpica/nsparse.c index ec7ba2d3463c..233f756d5cfa 100644 --- a/drivers/acpi/acpica/nsparse.c +++ b/drivers/acpi/acpica/nsparse.c | |||
@@ -168,11 +168,11 @@ acpi_ns_parse_table(u32 table_index, struct acpi_namespace_node *start_node) | |||
168 | /* | 168 | /* |
169 | * AML Parse, pass 1 | 169 | * AML Parse, pass 1 |
170 | * | 170 | * |
171 | * In this pass, we load most of the namespace. Control methods | 171 | * In this pass, we load most of the namespace. Control methods |
172 | * are not parsed until later. A parse tree is not created. Instead, | 172 | * are not parsed until later. A parse tree is not created. Instead, |
173 | * each Parser Op subtree is deleted when it is finished. This saves | 173 | * each Parser Op subtree is deleted when it is finished. This saves |
174 | * a great deal of memory, and allows a small cache of parse objects | 174 | * a great deal of memory, and allows a small cache of parse objects |
175 | * to service the entire parse. The second pass of the parse then | 175 | * to service the entire parse. The second pass of the parse then |
176 | * performs another complete parse of the AML. | 176 | * performs another complete parse of the AML. |
177 | */ | 177 | */ |
178 | ACPI_DEBUG_PRINT((ACPI_DB_PARSE, "**** Start pass 1\n")); | 178 | ACPI_DEBUG_PRINT((ACPI_DB_PARSE, "**** Start pass 1\n")); |
diff --git a/drivers/acpi/acpica/nsutils.c b/drivers/acpi/acpica/nsutils.c index ef753a41e087..16b3da80b92d 100644 --- a/drivers/acpi/acpica/nsutils.c +++ b/drivers/acpi/acpica/nsutils.c | |||
@@ -530,7 +530,7 @@ acpi_ns_externalize_name(u32 internal_name_length, | |||
530 | ((num_segments > 0) ? (num_segments - 1) : 0) + 1; | 530 | ((num_segments > 0) ? (num_segments - 1) : 0) + 1; |
531 | 531 | ||
532 | /* | 532 | /* |
533 | * Check to see if we're still in bounds. If not, there's a problem | 533 | * Check to see if we're still in bounds. If not, there's a problem |
534 | * with internal_name (invalid format). | 534 | * with internal_name (invalid format). |
535 | */ | 535 | */ |
536 | if (required_length > internal_name_length) { | 536 | if (required_length > internal_name_length) { |
@@ -681,7 +681,7 @@ u32 acpi_ns_opens_scope(acpi_object_type type) | |||
681 | * \ (backslash) and ^ (carat) prefixes, and the | 681 | * \ (backslash) and ^ (carat) prefixes, and the |
682 | * . (period) to separate segments are supported. | 682 | * . (period) to separate segments are supported. |
683 | * prefix_node - Root of subtree to be searched, or NS_ALL for the | 683 | * prefix_node - Root of subtree to be searched, or NS_ALL for the |
684 | * root of the name space. If Name is fully | 684 | * root of the name space. If Name is fully |
685 | * qualified (first s8 is '\'), the passed value | 685 | * qualified (first s8 is '\'), the passed value |
686 | * of Scope will not be accessed. | 686 | * of Scope will not be accessed. |
687 | * flags - Used to indicate whether to perform upsearch or | 687 | * flags - Used to indicate whether to perform upsearch or |
@@ -689,7 +689,7 @@ u32 acpi_ns_opens_scope(acpi_object_type type) | |||
689 | * return_node - Where the Node is returned | 689 | * return_node - Where the Node is returned |
690 | * | 690 | * |
691 | * DESCRIPTION: Look up a name relative to a given scope and return the | 691 | * DESCRIPTION: Look up a name relative to a given scope and return the |
692 | * corresponding Node. NOTE: Scope can be null. | 692 | * corresponding Node. NOTE: Scope can be null. |
693 | * | 693 | * |
694 | * MUTEX: Locks namespace | 694 | * MUTEX: Locks namespace |
695 | * | 695 | * |
diff --git a/drivers/acpi/acpica/nswalk.c b/drivers/acpi/acpica/nswalk.c index 730bccc5e7f7..0483877f26b8 100644 --- a/drivers/acpi/acpica/nswalk.c +++ b/drivers/acpi/acpica/nswalk.c | |||
@@ -60,8 +60,8 @@ ACPI_MODULE_NAME("nswalk") | |||
60 | * RETURN: struct acpi_namespace_node - Pointer to the NEXT child or NULL if | 60 | * RETURN: struct acpi_namespace_node - Pointer to the NEXT child or NULL if |
61 | * none is found. | 61 | * none is found. |
62 | * | 62 | * |
63 | * DESCRIPTION: Return the next peer node within the namespace. If Handle | 63 | * DESCRIPTION: Return the next peer node within the namespace. If Handle |
64 | * is valid, Scope is ignored. Otherwise, the first node | 64 | * is valid, Scope is ignored. Otherwise, the first node |
65 | * within Scope is returned. | 65 | * within Scope is returned. |
66 | * | 66 | * |
67 | ******************************************************************************/ | 67 | ******************************************************************************/ |
@@ -97,8 +97,8 @@ struct acpi_namespace_node *acpi_ns_get_next_node(struct acpi_namespace_node | |||
97 | * RETURN: struct acpi_namespace_node - Pointer to the NEXT child or NULL if | 97 | * RETURN: struct acpi_namespace_node - Pointer to the NEXT child or NULL if |
98 | * none is found. | 98 | * none is found. |
99 | * | 99 | * |
100 | * DESCRIPTION: Return the next peer node within the namespace. If Handle | 100 | * DESCRIPTION: Return the next peer node within the namespace. If Handle |
101 | * is valid, Scope is ignored. Otherwise, the first node | 101 | * is valid, Scope is ignored. Otherwise, the first node |
102 | * within Scope is returned. | 102 | * within Scope is returned. |
103 | * | 103 | * |
104 | ******************************************************************************/ | 104 | ******************************************************************************/ |
@@ -305,7 +305,7 @@ acpi_ns_walk_namespace(acpi_object_type type, | |||
305 | 305 | ||
306 | /* | 306 | /* |
307 | * Depth first search: Attempt to go down another level in the | 307 | * Depth first search: Attempt to go down another level in the |
308 | * namespace if we are allowed to. Don't go any further if we have | 308 | * namespace if we are allowed to. Don't go any further if we have |
309 | * reached the caller specified maximum depth or if the user | 309 | * reached the caller specified maximum depth or if the user |
310 | * function has specified that the maximum depth has been reached. | 310 | * function has specified that the maximum depth has been reached. |
311 | */ | 311 | */ |
diff --git a/drivers/acpi/acpica/nsxfeval.c b/drivers/acpi/acpica/nsxfeval.c index ee4d873f9f0a..d6a9f77972b6 100644 --- a/drivers/acpi/acpica/nsxfeval.c +++ b/drivers/acpi/acpica/nsxfeval.c | |||
@@ -61,16 +61,16 @@ static void acpi_ns_resolve_references(struct acpi_evaluate_info *info); | |||
61 | * PARAMETERS: handle - Object handle (optional) | 61 | * PARAMETERS: handle - Object handle (optional) |
62 | * pathname - Object pathname (optional) | 62 | * pathname - Object pathname (optional) |
63 | * external_params - List of parameters to pass to method, | 63 | * external_params - List of parameters to pass to method, |
64 | * terminated by NULL. May be NULL | 64 | * terminated by NULL. May be NULL |
65 | * if no parameters are being passed. | 65 | * if no parameters are being passed. |
66 | * return_buffer - Where to put method's return value (if | 66 | * return_buffer - Where to put method's return value (if |
67 | * any). If NULL, no value is returned. | 67 | * any). If NULL, no value is returned. |
68 | * return_type - Expected type of return object | 68 | * return_type - Expected type of return object |
69 | * | 69 | * |
70 | * RETURN: Status | 70 | * RETURN: Status |
71 | * | 71 | * |
72 | * DESCRIPTION: Find and evaluate the given object, passing the given | 72 | * DESCRIPTION: Find and evaluate the given object, passing the given |
73 | * parameters if necessary. One of "Handle" or "Pathname" must | 73 | * parameters if necessary. One of "Handle" or "Pathname" must |
74 | * be valid (non-null) | 74 | * be valid (non-null) |
75 | * | 75 | * |
76 | ******************************************************************************/ | 76 | ******************************************************************************/ |
@@ -155,15 +155,15 @@ ACPI_EXPORT_SYMBOL(acpi_evaluate_object_typed) | |||
155 | * PARAMETERS: handle - Object handle (optional) | 155 | * PARAMETERS: handle - Object handle (optional) |
156 | * pathname - Object pathname (optional) | 156 | * pathname - Object pathname (optional) |
157 | * external_params - List of parameters to pass to method, | 157 | * external_params - List of parameters to pass to method, |
158 | * terminated by NULL. May be NULL | 158 | * terminated by NULL. May be NULL |
159 | * if no parameters are being passed. | 159 | * if no parameters are being passed. |
160 | * return_buffer - Where to put method's return value (if | 160 | * return_buffer - Where to put method's return value (if |
161 | * any). If NULL, no value is returned. | 161 | * any). If NULL, no value is returned. |
162 | * | 162 | * |
163 | * RETURN: Status | 163 | * RETURN: Status |
164 | * | 164 | * |
165 | * DESCRIPTION: Find and evaluate the given object, passing the given | 165 | * DESCRIPTION: Find and evaluate the given object, passing the given |
166 | * parameters if necessary. One of "Handle" or "Pathname" must | 166 | * parameters if necessary. One of "Handle" or "Pathname" must |
167 | * be valid (non-null) | 167 | * be valid (non-null) |
168 | * | 168 | * |
169 | ******************************************************************************/ | 169 | ******************************************************************************/ |
@@ -656,7 +656,7 @@ acpi_ns_get_device_callback(acpi_handle obj_handle, | |||
656 | * DESCRIPTION: Performs a modified depth-first walk of the namespace tree, | 656 | * DESCRIPTION: Performs a modified depth-first walk of the namespace tree, |
657 | * starting (and ending) at the object specified by start_handle. | 657 | * starting (and ending) at the object specified by start_handle. |
658 | * The user_function is called whenever an object of type | 658 | * The user_function is called whenever an object of type |
659 | * Device is found. If the user function returns | 659 | * Device is found. If the user function returns |
660 | * a non-zero value, the search is terminated immediately and this | 660 | * a non-zero value, the search is terminated immediately and this |
661 | * value is returned to the caller. | 661 | * value is returned to the caller. |
662 | * | 662 | * |
diff --git a/drivers/acpi/acpica/nsxfname.c b/drivers/acpi/acpica/nsxfname.c index 7bc4985146f8..ce8789771176 100644 --- a/drivers/acpi/acpica/nsxfname.c +++ b/drivers/acpi/acpica/nsxfname.c | |||
@@ -69,8 +69,8 @@ static char *acpi_ns_copy_device_id(struct acpi_pnp_device_id *dest, | |||
69 | * RETURN: Status | 69 | * RETURN: Status |
70 | * | 70 | * |
71 | * DESCRIPTION: This routine will search for a caller specified name in the | 71 | * DESCRIPTION: This routine will search for a caller specified name in the |
72 | * name space. The caller can restrict the search region by | 72 | * name space. The caller can restrict the search region by |
73 | * specifying a non NULL parent. The parent value is itself a | 73 | * specifying a non NULL parent. The parent value is itself a |
74 | * namespace handle. | 74 | * namespace handle. |
75 | * | 75 | * |
76 | ******************************************************************************/ | 76 | ******************************************************************************/ |
@@ -149,7 +149,7 @@ ACPI_EXPORT_SYMBOL(acpi_get_handle) | |||
149 | * RETURN: Pointer to a string containing the fully qualified Name. | 149 | * RETURN: Pointer to a string containing the fully qualified Name. |
150 | * | 150 | * |
151 | * DESCRIPTION: This routine returns the fully qualified name associated with | 151 | * DESCRIPTION: This routine returns the fully qualified name associated with |
152 | * the Handle parameter. This and the acpi_pathname_to_handle are | 152 | * the Handle parameter. This and the acpi_pathname_to_handle are |
153 | * complementary functions. | 153 | * complementary functions. |
154 | * | 154 | * |
155 | ******************************************************************************/ | 155 | ******************************************************************************/ |
diff --git a/drivers/acpi/acpica/nsxfobj.c b/drivers/acpi/acpica/nsxfobj.c index 6766fc4f088f..9d029dac6b64 100644 --- a/drivers/acpi/acpica/nsxfobj.c +++ b/drivers/acpi/acpica/nsxfobj.c | |||
@@ -220,8 +220,8 @@ ACPI_EXPORT_SYMBOL(acpi_get_parent) | |||
220 | * | 220 | * |
221 | * RETURN: Status | 221 | * RETURN: Status |
222 | * | 222 | * |
223 | * DESCRIPTION: Return the next peer object within the namespace. If Handle is | 223 | * DESCRIPTION: Return the next peer object within the namespace. If Handle is |
224 | * valid, Scope is ignored. Otherwise, the first object within | 224 | * valid, Scope is ignored. Otherwise, the first object within |
225 | * Scope is returned. | 225 | * Scope is returned. |
226 | * | 226 | * |
227 | ******************************************************************************/ | 227 | ******************************************************************************/ |
diff --git a/drivers/acpi/acpica/psargs.c b/drivers/acpi/acpica/psargs.c index 844464c4f901..cb79e2d4d743 100644 --- a/drivers/acpi/acpica/psargs.c +++ b/drivers/acpi/acpica/psargs.c | |||
@@ -120,7 +120,7 @@ acpi_ps_get_next_package_length(struct acpi_parse_state *parser_state) | |||
120 | * RETURN: Pointer to end-of-package +1 | 120 | * RETURN: Pointer to end-of-package +1 |
121 | * | 121 | * |
122 | * DESCRIPTION: Get next package length and return a pointer past the end of | 122 | * DESCRIPTION: Get next package length and return a pointer past the end of |
123 | * the package. Consumes the package length field | 123 | * the package. Consumes the package length field |
124 | * | 124 | * |
125 | ******************************************************************************/ | 125 | ******************************************************************************/ |
126 | 126 | ||
@@ -147,8 +147,8 @@ u8 *acpi_ps_get_next_package_end(struct acpi_parse_state *parser_state) | |||
147 | * RETURN: Pointer to the start of the name string (pointer points into | 147 | * RETURN: Pointer to the start of the name string (pointer points into |
148 | * the AML. | 148 | * the AML. |
149 | * | 149 | * |
150 | * DESCRIPTION: Get next raw namestring within the AML stream. Handles all name | 150 | * DESCRIPTION: Get next raw namestring within the AML stream. Handles all name |
151 | * prefix characters. Set parser state to point past the string. | 151 | * prefix characters. Set parser state to point past the string. |
152 | * (Name is consumed from the AML.) | 152 | * (Name is consumed from the AML.) |
153 | * | 153 | * |
154 | ******************************************************************************/ | 154 | ******************************************************************************/ |
@@ -220,7 +220,7 @@ char *acpi_ps_get_next_namestring(struct acpi_parse_state *parser_state) | |||
220 | * | 220 | * |
221 | * DESCRIPTION: Get next name (if method call, return # of required args). | 221 | * DESCRIPTION: Get next name (if method call, return # of required args). |
222 | * Names are looked up in the internal namespace to determine | 222 | * Names are looked up in the internal namespace to determine |
223 | * if the name represents a control method. If a method | 223 | * if the name represents a control method. If a method |
224 | * is found, the number of arguments to the method is returned. | 224 | * is found, the number of arguments to the method is returned. |
225 | * This information is critical for parsing to continue correctly. | 225 | * This information is critical for parsing to continue correctly. |
226 | * | 226 | * |
diff --git a/drivers/acpi/acpica/psopcode.c b/drivers/acpi/acpica/psopcode.c index e5572a78bdb8..1793d934aa30 100644 --- a/drivers/acpi/acpica/psopcode.c +++ b/drivers/acpi/acpica/psopcode.c | |||
@@ -59,7 +59,7 @@ static const u8 acpi_gbl_argument_count[] = | |||
59 | * | 59 | * |
60 | * DESCRIPTION: Opcode table. Each entry contains <opcode, type, name, operands> | 60 | * DESCRIPTION: Opcode table. Each entry contains <opcode, type, name, operands> |
61 | * The name is a simple ascii string, the operand specifier is an | 61 | * The name is a simple ascii string, the operand specifier is an |
62 | * ascii string with one letter per operand. The letter specifies | 62 | * ascii string with one letter per operand. The letter specifies |
63 | * the operand type. | 63 | * the operand type. |
64 | * | 64 | * |
65 | ******************************************************************************/ | 65 | ******************************************************************************/ |
@@ -183,7 +183,7 @@ static const u8 acpi_gbl_argument_count[] = | |||
183 | ******************************************************************************/ | 183 | ******************************************************************************/ |
184 | 184 | ||
185 | /* | 185 | /* |
186 | * Master Opcode information table. A summary of everything we know about each | 186 | * Master Opcode information table. A summary of everything we know about each |
187 | * opcode, all in one place. | 187 | * opcode, all in one place. |
188 | */ | 188 | */ |
189 | const struct acpi_opcode_info acpi_gbl_aml_op_info[AML_NUM_OPCODES] = { | 189 | const struct acpi_opcode_info acpi_gbl_aml_op_info[AML_NUM_OPCODES] = { |
@@ -700,7 +700,7 @@ static const u8 acpi_gbl_short_op_index[256] = { | |||
700 | 700 | ||
701 | /* | 701 | /* |
702 | * This table is indexed by the second opcode of the extended opcode | 702 | * This table is indexed by the second opcode of the extended opcode |
703 | * pair. It returns an index into the opcode table (acpi_gbl_aml_op_info) | 703 | * pair. It returns an index into the opcode table (acpi_gbl_aml_op_info) |
704 | */ | 704 | */ |
705 | static const u8 acpi_gbl_long_op_index[NUM_EXTENDED_OPCODE] = { | 705 | static const u8 acpi_gbl_long_op_index[NUM_EXTENDED_OPCODE] = { |
706 | /* 0 1 2 3 4 5 6 7 */ | 706 | /* 0 1 2 3 4 5 6 7 */ |
diff --git a/drivers/acpi/acpica/psparse.c b/drivers/acpi/acpica/psparse.c index dfdda00c6fff..2494caf47755 100644 --- a/drivers/acpi/acpica/psparse.c +++ b/drivers/acpi/acpica/psparse.c | |||
@@ -43,9 +43,9 @@ | |||
43 | 43 | ||
44 | /* | 44 | /* |
45 | * Parse the AML and build an operation tree as most interpreters, | 45 | * Parse the AML and build an operation tree as most interpreters, |
46 | * like Perl, do. Parsing is done by hand rather than with a YACC | 46 | * like Perl, do. Parsing is done by hand rather than with a YACC |
47 | * generated parser to tightly constrain stack and dynamic memory | 47 | * generated parser to tightly constrain stack and dynamic memory |
48 | * usage. At the same time, parsing is kept flexible and the code | 48 | * usage. At the same time, parsing is kept flexible and the code |
49 | * fairly compact by parsing based on a list of AML opcode | 49 | * fairly compact by parsing based on a list of AML opcode |
50 | * templates in aml_op_info[] | 50 | * templates in aml_op_info[] |
51 | */ | 51 | */ |
@@ -379,7 +379,7 @@ acpi_ps_next_parse_state(struct acpi_walk_state *walk_state, | |||
379 | case AE_CTRL_FALSE: | 379 | case AE_CTRL_FALSE: |
380 | /* | 380 | /* |
381 | * Either an IF/WHILE Predicate was false or we encountered a BREAK | 381 | * Either an IF/WHILE Predicate was false or we encountered a BREAK |
382 | * opcode. In both cases, we do not execute the rest of the | 382 | * opcode. In both cases, we do not execute the rest of the |
383 | * package; We simply close out the parent (finishing the walk of | 383 | * package; We simply close out the parent (finishing the walk of |
384 | * this branch of the tree) and continue execution at the parent | 384 | * this branch of the tree) and continue execution at the parent |
385 | * level. | 385 | * level. |
@@ -488,7 +488,7 @@ acpi_status acpi_ps_parse_aml(struct acpi_walk_state *walk_state) | |||
488 | acpi_gbl_current_walk_list = thread; | 488 | acpi_gbl_current_walk_list = thread; |
489 | 489 | ||
490 | /* | 490 | /* |
491 | * Execute the walk loop as long as there is a valid Walk State. This | 491 | * Execute the walk loop as long as there is a valid Walk State. This |
492 | * handles nested control method invocations without recursion. | 492 | * handles nested control method invocations without recursion. |
493 | */ | 493 | */ |
494 | ACPI_DEBUG_PRINT((ACPI_DB_PARSE, "State=%p\n", walk_state)); | 494 | ACPI_DEBUG_PRINT((ACPI_DB_PARSE, "State=%p\n", walk_state)); |
diff --git a/drivers/acpi/acpica/psutils.c b/drivers/acpi/acpica/psutils.c index 8736ad5f04d3..4137dcb352d1 100644 --- a/drivers/acpi/acpica/psutils.c +++ b/drivers/acpi/acpica/psutils.c | |||
@@ -108,7 +108,7 @@ void acpi_ps_init_op(union acpi_parse_object *op, u16 opcode) | |||
108 | * RETURN: Pointer to the new Op, null on failure | 108 | * RETURN: Pointer to the new Op, null on failure |
109 | * | 109 | * |
110 | * DESCRIPTION: Allocate an acpi_op, choose op type (and thus size) based on | 110 | * DESCRIPTION: Allocate an acpi_op, choose op type (and thus size) based on |
111 | * opcode. A cache of opcodes is available for the pure | 111 | * opcode. A cache of opcodes is available for the pure |
112 | * GENERIC_OP, since this is by far the most commonly used. | 112 | * GENERIC_OP, since this is by far the most commonly used. |
113 | * | 113 | * |
114 | ******************************************************************************/ | 114 | ******************************************************************************/ |
@@ -164,7 +164,7 @@ union acpi_parse_object *acpi_ps_alloc_op(u16 opcode) | |||
164 | * | 164 | * |
165 | * RETURN: None. | 165 | * RETURN: None. |
166 | * | 166 | * |
167 | * DESCRIPTION: Free an Op object. Either put it on the GENERIC_OP cache list | 167 | * DESCRIPTION: Free an Op object. Either put it on the GENERIC_OP cache list |
168 | * or actually free it. | 168 | * or actually free it. |
169 | * | 169 | * |
170 | ******************************************************************************/ | 170 | ******************************************************************************/ |
diff --git a/drivers/acpi/acpica/rscalc.c b/drivers/acpi/acpica/rscalc.c index 42745676ecdc..685177985509 100644 --- a/drivers/acpi/acpica/rscalc.c +++ b/drivers/acpi/acpica/rscalc.c | |||
@@ -601,7 +601,7 @@ acpi_rs_get_pci_routing_table_length(union acpi_operand_object *package_object, | |||
601 | /* | 601 | /* |
602 | * Calculate the size of the return buffer. | 602 | * Calculate the size of the return buffer. |
603 | * The base size is the number of elements * the sizes of the | 603 | * The base size is the number of elements * the sizes of the |
604 | * structures. Additional space for the strings is added below. | 604 | * structures. Additional space for the strings is added below. |
605 | * The minus one is to subtract the size of the u8 Source[1] | 605 | * The minus one is to subtract the size of the u8 Source[1] |
606 | * member because it is added below. | 606 | * member because it is added below. |
607 | * | 607 | * |
diff --git a/drivers/acpi/acpica/tbxfroot.c b/drivers/acpi/acpica/tbxfroot.c index f8ee9b35b999..28f330230f99 100644 --- a/drivers/acpi/acpica/tbxfroot.c +++ b/drivers/acpi/acpica/tbxfroot.c | |||
@@ -107,7 +107,7 @@ static acpi_status acpi_tb_validate_rsdp(struct acpi_table_rsdp *rsdp) | |||
107 | * RETURN: Status, RSDP physical address | 107 | * RETURN: Status, RSDP physical address |
108 | * | 108 | * |
109 | * DESCRIPTION: Search lower 1Mbyte of memory for the root system descriptor | 109 | * DESCRIPTION: Search lower 1Mbyte of memory for the root system descriptor |
110 | * pointer structure. If it is found, set *RSDP to point to it. | 110 | * pointer structure. If it is found, set *RSDP to point to it. |
111 | * | 111 | * |
112 | * NOTE1: The RSDP must be either in the first 1K of the Extended | 112 | * NOTE1: The RSDP must be either in the first 1K of the Extended |
113 | * BIOS Data Area or between E0000 and FFFFF (From ACPI Spec.) | 113 | * BIOS Data Area or between E0000 and FFFFF (From ACPI Spec.) |
diff --git a/drivers/acpi/acpica/utcache.c b/drivers/acpi/acpica/utcache.c index eacb9ba2b9e0..e1d40ed26390 100644 --- a/drivers/acpi/acpica/utcache.c +++ b/drivers/acpi/acpica/utcache.c | |||
@@ -183,7 +183,7 @@ acpi_status acpi_os_delete_cache(struct acpi_memory_list * cache) | |||
183 | * | 183 | * |
184 | * RETURN: None | 184 | * RETURN: None |
185 | * | 185 | * |
186 | * DESCRIPTION: Release an object to the specified cache. If cache is full, | 186 | * DESCRIPTION: Release an object to the specified cache. If cache is full, |
187 | * the object is deleted. | 187 | * the object is deleted. |
188 | * | 188 | * |
189 | ******************************************************************************/ | 189 | ******************************************************************************/ |
@@ -240,9 +240,9 @@ acpi_os_release_object(struct acpi_memory_list * cache, void *object) | |||
240 | * | 240 | * |
241 | * PARAMETERS: cache - Handle to cache object | 241 | * PARAMETERS: cache - Handle to cache object |
242 | * | 242 | * |
243 | * RETURN: the acquired object. NULL on error | 243 | * RETURN: the acquired object. NULL on error |
244 | * | 244 | * |
245 | * DESCRIPTION: Get an object from the specified cache. If cache is empty, | 245 | * DESCRIPTION: Get an object from the specified cache. If cache is empty, |
246 | * the object is allocated. | 246 | * the object is allocated. |
247 | * | 247 | * |
248 | ******************************************************************************/ | 248 | ******************************************************************************/ |
diff --git a/drivers/acpi/acpica/utdebug.c b/drivers/acpi/acpica/utdebug.c index 2c2179917649..7a3327067f20 100644 --- a/drivers/acpi/acpica/utdebug.c +++ b/drivers/acpi/acpica/utdebug.c | |||
@@ -223,7 +223,7 @@ ACPI_EXPORT_SYMBOL(acpi_debug_print) | |||
223 | * | 223 | * |
224 | * RETURN: None | 224 | * RETURN: None |
225 | * | 225 | * |
226 | * DESCRIPTION: Print message with no headers. Has same interface as | 226 | * DESCRIPTION: Print message with no headers. Has same interface as |
227 | * debug_print so that the same macros can be used. | 227 | * debug_print so that the same macros can be used. |
228 | * | 228 | * |
229 | ******************************************************************************/ | 229 | ******************************************************************************/ |
@@ -259,7 +259,7 @@ ACPI_EXPORT_SYMBOL(acpi_debug_print_raw) | |||
259 | * | 259 | * |
260 | * RETURN: None | 260 | * RETURN: None |
261 | * | 261 | * |
262 | * DESCRIPTION: Function entry trace. Prints only if TRACE_FUNCTIONS bit is | 262 | * DESCRIPTION: Function entry trace. Prints only if TRACE_FUNCTIONS bit is |
263 | * set in debug_level | 263 | * set in debug_level |
264 | * | 264 | * |
265 | ******************************************************************************/ | 265 | ******************************************************************************/ |
@@ -291,7 +291,7 @@ ACPI_EXPORT_SYMBOL(acpi_ut_trace) | |||
291 | * | 291 | * |
292 | * RETURN: None | 292 | * RETURN: None |
293 | * | 293 | * |
294 | * DESCRIPTION: Function entry trace. Prints only if TRACE_FUNCTIONS bit is | 294 | * DESCRIPTION: Function entry trace. Prints only if TRACE_FUNCTIONS bit is |
295 | * set in debug_level | 295 | * set in debug_level |
296 | * | 296 | * |
297 | ******************************************************************************/ | 297 | ******************************************************************************/ |
@@ -321,7 +321,7 @@ acpi_ut_trace_ptr(u32 line_number, | |||
321 | * | 321 | * |
322 | * RETURN: None | 322 | * RETURN: None |
323 | * | 323 | * |
324 | * DESCRIPTION: Function entry trace. Prints only if TRACE_FUNCTIONS bit is | 324 | * DESCRIPTION: Function entry trace. Prints only if TRACE_FUNCTIONS bit is |
325 | * set in debug_level | 325 | * set in debug_level |
326 | * | 326 | * |
327 | ******************************************************************************/ | 327 | ******************************************************************************/ |
@@ -352,7 +352,7 @@ acpi_ut_trace_str(u32 line_number, | |||
352 | * | 352 | * |
353 | * RETURN: None | 353 | * RETURN: None |
354 | * | 354 | * |
355 | * DESCRIPTION: Function entry trace. Prints only if TRACE_FUNCTIONS bit is | 355 | * DESCRIPTION: Function entry trace. Prints only if TRACE_FUNCTIONS bit is |
356 | * set in debug_level | 356 | * set in debug_level |
357 | * | 357 | * |
358 | ******************************************************************************/ | 358 | ******************************************************************************/ |
@@ -382,7 +382,7 @@ acpi_ut_trace_u32(u32 line_number, | |||
382 | * | 382 | * |
383 | * RETURN: None | 383 | * RETURN: None |
384 | * | 384 | * |
385 | * DESCRIPTION: Function exit trace. Prints only if TRACE_FUNCTIONS bit is | 385 | * DESCRIPTION: Function exit trace. Prints only if TRACE_FUNCTIONS bit is |
386 | * set in debug_level | 386 | * set in debug_level |
387 | * | 387 | * |
388 | ******************************************************************************/ | 388 | ******************************************************************************/ |
@@ -414,7 +414,7 @@ ACPI_EXPORT_SYMBOL(acpi_ut_exit) | |||
414 | * | 414 | * |
415 | * RETURN: None | 415 | * RETURN: None |
416 | * | 416 | * |
417 | * DESCRIPTION: Function exit trace. Prints only if TRACE_FUNCTIONS bit is | 417 | * DESCRIPTION: Function exit trace. Prints only if TRACE_FUNCTIONS bit is |
418 | * set in debug_level. Prints exit status also. | 418 | * set in debug_level. Prints exit status also. |
419 | * | 419 | * |
420 | ******************************************************************************/ | 420 | ******************************************************************************/ |
@@ -455,7 +455,7 @@ ACPI_EXPORT_SYMBOL(acpi_ut_status_exit) | |||
455 | * | 455 | * |
456 | * RETURN: None | 456 | * RETURN: None |
457 | * | 457 | * |
458 | * DESCRIPTION: Function exit trace. Prints only if TRACE_FUNCTIONS bit is | 458 | * DESCRIPTION: Function exit trace. Prints only if TRACE_FUNCTIONS bit is |
459 | * set in debug_level. Prints exit value also. | 459 | * set in debug_level. Prints exit value also. |
460 | * | 460 | * |
461 | ******************************************************************************/ | 461 | ******************************************************************************/ |
@@ -487,7 +487,7 @@ ACPI_EXPORT_SYMBOL(acpi_ut_value_exit) | |||
487 | * | 487 | * |
488 | * RETURN: None | 488 | * RETURN: None |
489 | * | 489 | * |
490 | * DESCRIPTION: Function exit trace. Prints only if TRACE_FUNCTIONS bit is | 490 | * DESCRIPTION: Function exit trace. Prints only if TRACE_FUNCTIONS bit is |
491 | * set in debug_level. Prints exit value also. | 491 | * set in debug_level. Prints exit value also. |
492 | * | 492 | * |
493 | ******************************************************************************/ | 493 | ******************************************************************************/ |
diff --git a/drivers/acpi/acpica/utmath.c b/drivers/acpi/acpica/utmath.c index d88a8aaab2a6..49563674833a 100644 --- a/drivers/acpi/acpica/utmath.c +++ b/drivers/acpi/acpica/utmath.c | |||
@@ -81,7 +81,7 @@ typedef union uint64_overlay { | |||
81 | * RETURN: Status (Checks for divide-by-zero) | 81 | * RETURN: Status (Checks for divide-by-zero) |
82 | * | 82 | * |
83 | * DESCRIPTION: Perform a short (maximum 64 bits divided by 32 bits) | 83 | * DESCRIPTION: Perform a short (maximum 64 bits divided by 32 bits) |
84 | * divide and modulo. The result is a 64-bit quotient and a | 84 | * divide and modulo. The result is a 64-bit quotient and a |
85 | * 32-bit remainder. | 85 | * 32-bit remainder. |
86 | * | 86 | * |
87 | ******************************************************************************/ | 87 | ******************************************************************************/ |
diff --git a/drivers/acpi/acpica/utmisc.c b/drivers/acpi/acpica/utmisc.c index 0fed4bcc84b6..7ba197298ef8 100644 --- a/drivers/acpi/acpica/utmisc.c +++ b/drivers/acpi/acpica/utmisc.c | |||
@@ -250,7 +250,7 @@ acpi_status acpi_ut_allocate_owner_id(acpi_owner_id * owner_id) | |||
250 | * control method or unloading a table. Either way, we would | 250 | * control method or unloading a table. Either way, we would |
251 | * ignore any error anyway. | 251 | * ignore any error anyway. |
252 | * | 252 | * |
253 | * DESCRIPTION: Release a table or method owner ID. Valid IDs are 1 - 255 | 253 | * DESCRIPTION: Release a table or method owner ID. Valid IDs are 1 - 255 |
254 | * | 254 | * |
255 | ******************************************************************************/ | 255 | ******************************************************************************/ |
256 | 256 | ||
@@ -534,8 +534,8 @@ u32 acpi_ut_dword_byte_swap(u32 value) | |||
534 | * RETURN: None | 534 | * RETURN: None |
535 | * | 535 | * |
536 | * DESCRIPTION: Set the global integer bit width based upon the revision | 536 | * DESCRIPTION: Set the global integer bit width based upon the revision |
537 | * of the DSDT. For Revision 1 and 0, Integers are 32 bits. | 537 | * of the DSDT. For Revision 1 and 0, Integers are 32 bits. |
538 | * For Revision 2 and above, Integers are 64 bits. Yes, this | 538 | * For Revision 2 and above, Integers are 64 bits. Yes, this |
539 | * makes a difference. | 539 | * makes a difference. |
540 | * | 540 | * |
541 | ******************************************************************************/ | 541 | ******************************************************************************/ |
@@ -671,7 +671,7 @@ u8 acpi_ut_valid_acpi_char(char character, u32 position) | |||
671 | * | 671 | * |
672 | * RETURN: TRUE if the name is valid, FALSE otherwise | 672 | * RETURN: TRUE if the name is valid, FALSE otherwise |
673 | * | 673 | * |
674 | * DESCRIPTION: Check for a valid ACPI name. Each character must be one of: | 674 | * DESCRIPTION: Check for a valid ACPI name. Each character must be one of: |
675 | * 1) Upper case alpha | 675 | * 1) Upper case alpha |
676 | * 2) numeric | 676 | * 2) numeric |
677 | * 3) underscore | 677 | * 3) underscore |
@@ -1010,10 +1010,10 @@ acpi_ut_walk_package_tree(union acpi_operand_object *source_object, | |||
1010 | 1010 | ||
1011 | /* | 1011 | /* |
1012 | * Check for: | 1012 | * Check for: |
1013 | * 1) An uninitialized package element. It is completely | 1013 | * 1) An uninitialized package element. It is completely |
1014 | * legal to declare a package and leave it uninitialized | 1014 | * legal to declare a package and leave it uninitialized |
1015 | * 2) Not an internal object - can be a namespace node instead | 1015 | * 2) Not an internal object - can be a namespace node instead |
1016 | * 3) Any type other than a package. Packages are handled in else | 1016 | * 3) Any type other than a package. Packages are handled in else |
1017 | * case below. | 1017 | * case below. |
1018 | */ | 1018 | */ |
1019 | if ((!this_source_obj) || | 1019 | if ((!this_source_obj) || |
@@ -1032,7 +1032,7 @@ acpi_ut_walk_package_tree(union acpi_operand_object *source_object, | |||
1032 | state->pkg.source_object->package.count) { | 1032 | state->pkg.source_object->package.count) { |
1033 | /* | 1033 | /* |
1034 | * We've handled all of the objects at this level, This means | 1034 | * We've handled all of the objects at this level, This means |
1035 | * that we have just completed a package. That package may | 1035 | * that we have just completed a package. That package may |
1036 | * have contained one or more packages itself. | 1036 | * have contained one or more packages itself. |
1037 | * | 1037 | * |
1038 | * Delete this state and pop the previous state (package). | 1038 | * Delete this state and pop the previous state (package). |
diff --git a/drivers/acpi/acpica/utmutex.c b/drivers/acpi/acpica/utmutex.c index 93a119199335..5ccf57c0d87e 100644 --- a/drivers/acpi/acpica/utmutex.c +++ b/drivers/acpi/acpica/utmutex.c | |||
@@ -228,9 +228,9 @@ acpi_status acpi_ut_acquire_mutex(acpi_mutex_handle mutex_id) | |||
228 | /* | 228 | /* |
229 | * Mutex debug code, for internal debugging only. | 229 | * Mutex debug code, for internal debugging only. |
230 | * | 230 | * |
231 | * Deadlock prevention. Check if this thread owns any mutexes of value | 231 | * Deadlock prevention. Check if this thread owns any mutexes of value |
232 | * greater than or equal to this one. If so, the thread has violated | 232 | * greater than or equal to this one. If so, the thread has violated |
233 | * the mutex ordering rule. This indicates a coding error somewhere in | 233 | * the mutex ordering rule. This indicates a coding error somewhere in |
234 | * the ACPI subsystem code. | 234 | * the ACPI subsystem code. |
235 | */ | 235 | */ |
236 | for (i = mutex_id; i < ACPI_NUM_MUTEX; i++) { | 236 | for (i = mutex_id; i < ACPI_NUM_MUTEX; i++) { |
@@ -321,9 +321,9 @@ acpi_status acpi_ut_release_mutex(acpi_mutex_handle mutex_id) | |||
321 | /* | 321 | /* |
322 | * Mutex debug code, for internal debugging only. | 322 | * Mutex debug code, for internal debugging only. |
323 | * | 323 | * |
324 | * Deadlock prevention. Check if this thread owns any mutexes of value | 324 | * Deadlock prevention. Check if this thread owns any mutexes of value |
325 | * greater than this one. If so, the thread has violated the mutex | 325 | * greater than this one. If so, the thread has violated the mutex |
326 | * ordering rule. This indicates a coding error somewhere in | 326 | * ordering rule. This indicates a coding error somewhere in |
327 | * the ACPI subsystem code. | 327 | * the ACPI subsystem code. |
328 | */ | 328 | */ |
329 | for (i = mutex_id; i < ACPI_NUM_MUTEX; i++) { | 329 | for (i = mutex_id; i < ACPI_NUM_MUTEX; i++) { |
diff --git a/drivers/acpi/acpica/utobject.c b/drivers/acpi/acpica/utobject.c index 655f0799a391..5c52ca78f6fa 100644 --- a/drivers/acpi/acpica/utobject.c +++ b/drivers/acpi/acpica/utobject.c | |||
@@ -77,7 +77,7 @@ acpi_ut_get_element_length(u8 object_type, | |||
77 | * | 77 | * |
78 | * NOTE: We always allocate the worst-case object descriptor because | 78 | * NOTE: We always allocate the worst-case object descriptor because |
79 | * these objects are cached, and we want them to be | 79 | * these objects are cached, and we want them to be |
80 | * one-size-satisifies-any-request. This in itself may not be | 80 | * one-size-satisifies-any-request. This in itself may not be |
81 | * the most memory efficient, but the efficiency of the object | 81 | * the most memory efficient, but the efficiency of the object |
82 | * cache should more than make up for this! | 82 | * cache should more than make up for this! |
83 | * | 83 | * |
@@ -370,9 +370,9 @@ u8 acpi_ut_valid_internal_object(void *object) | |||
370 | * line_number - Caller's line number (for error output) | 370 | * line_number - Caller's line number (for error output) |
371 | * component_id - Caller's component ID (for error output) | 371 | * component_id - Caller's component ID (for error output) |
372 | * | 372 | * |
373 | * RETURN: Pointer to newly allocated object descriptor. Null on error | 373 | * RETURN: Pointer to newly allocated object descriptor. Null on error |
374 | * | 374 | * |
375 | * DESCRIPTION: Allocate a new object descriptor. Gracefully handle | 375 | * DESCRIPTION: Allocate a new object descriptor. Gracefully handle |
376 | * error conditions. | 376 | * error conditions. |
377 | * | 377 | * |
378 | ******************************************************************************/ | 378 | ******************************************************************************/ |
@@ -554,7 +554,7 @@ acpi_ut_get_simple_object_size(union acpi_operand_object *internal_object, | |||
554 | 554 | ||
555 | /* | 555 | /* |
556 | * Account for the space required by the object rounded up to the next | 556 | * Account for the space required by the object rounded up to the next |
557 | * multiple of the machine word size. This keeps each object aligned | 557 | * multiple of the machine word size. This keeps each object aligned |
558 | * on a machine word boundary. (preventing alignment faults on some | 558 | * on a machine word boundary. (preventing alignment faults on some |
559 | * machines.) | 559 | * machines.) |
560 | */ | 560 | */ |
diff --git a/drivers/acpi/acpica/utstate.c b/drivers/acpi/acpica/utstate.c index a1c988260073..cee0473ba813 100644 --- a/drivers/acpi/acpica/utstate.c +++ b/drivers/acpi/acpica/utstate.c | |||
@@ -147,7 +147,7 @@ union acpi_generic_state *acpi_ut_pop_generic_state(union acpi_generic_state | |||
147 | * | 147 | * |
148 | * RETURN: The new state object. NULL on failure. | 148 | * RETURN: The new state object. NULL on failure. |
149 | * | 149 | * |
150 | * DESCRIPTION: Create a generic state object. Attempt to obtain one from | 150 | * DESCRIPTION: Create a generic state object. Attempt to obtain one from |
151 | * the global state cache; If none available, create a new one. | 151 | * the global state cache; If none available, create a new one. |
152 | * | 152 | * |
153 | ******************************************************************************/ | 153 | ******************************************************************************/ |
diff --git a/drivers/acpi/acpica/uttrack.c b/drivers/acpi/acpica/uttrack.c index e79c49d44d08..79f311c3d1c4 100644 --- a/drivers/acpi/acpica/uttrack.c +++ b/drivers/acpi/acpica/uttrack.c | |||
@@ -45,9 +45,9 @@ | |||
45 | * These procedures are used for tracking memory leaks in the subsystem, and | 45 | * These procedures are used for tracking memory leaks in the subsystem, and |
46 | * they get compiled out when the ACPI_DBG_TRACK_ALLOCATIONS is not set. | 46 | * they get compiled out when the ACPI_DBG_TRACK_ALLOCATIONS is not set. |
47 | * | 47 | * |
48 | * Each memory allocation is tracked via a doubly linked list. Each | 48 | * Each memory allocation is tracked via a doubly linked list. Each |
49 | * element contains the caller's component, module name, function name, and | 49 | * element contains the caller's component, module name, function name, and |
50 | * line number. acpi_ut_allocate and acpi_ut_allocate_zeroed call | 50 | * line number. acpi_ut_allocate and acpi_ut_allocate_zeroed call |
51 | * acpi_ut_track_allocation to add an element to the list; deletion | 51 | * acpi_ut_track_allocation to add an element to the list; deletion |
52 | * occurs in the body of acpi_ut_free. | 52 | * occurs in the body of acpi_ut_free. |
53 | */ | 53 | */ |
@@ -499,7 +499,7 @@ void acpi_ut_dump_allocation_info(void) | |||
499 | * FUNCTION: acpi_ut_dump_allocations | 499 | * FUNCTION: acpi_ut_dump_allocations |
500 | * | 500 | * |
501 | * PARAMETERS: component - Component(s) to dump info for. | 501 | * PARAMETERS: component - Component(s) to dump info for. |
502 | * module - Module to dump info for. NULL means all. | 502 | * module - Module to dump info for. NULL means all. |
503 | * | 503 | * |
504 | * RETURN: None | 504 | * RETURN: None |
505 | * | 505 | * |
diff --git a/drivers/acpi/acpica/utxface.c b/drivers/acpi/acpica/utxface.c index 0c98d42fb2fd..390db0ca5e2e 100644 --- a/drivers/acpi/acpica/utxface.c +++ b/drivers/acpi/acpica/utxface.c | |||
@@ -147,7 +147,7 @@ ACPI_EXPORT_SYMBOL(acpi_subsystem_status) | |||
147 | * RETURN: status - the status of the call | 147 | * RETURN: status - the status of the call |
148 | * | 148 | * |
149 | * DESCRIPTION: This function is called to get information about the current | 149 | * DESCRIPTION: This function is called to get information about the current |
150 | * state of the ACPI subsystem. It will return system information | 150 | * state of the ACPI subsystem. It will return system information |
151 | * in the out_buffer. | 151 | * in the out_buffer. |
152 | * | 152 | * |
153 | * If the function fails an appropriate status will be returned | 153 | * If the function fails an appropriate status will be returned |
diff --git a/include/acpi/acexcep.h b/include/acpi/acexcep.h index 19503449814f..6c3890e02140 100644 --- a/include/acpi/acexcep.h +++ b/include/acpi/acexcep.h | |||
@@ -122,7 +122,7 @@ | |||
122 | #define AE_CODE_TBL_MAX 0x0005 | 122 | #define AE_CODE_TBL_MAX 0x0005 |
123 | 123 | ||
124 | /* | 124 | /* |
125 | * AML exceptions. These are caused by problems with | 125 | * AML exceptions. These are caused by problems with |
126 | * the actual AML byte stream | 126 | * the actual AML byte stream |
127 | */ | 127 | */ |
128 | #define AE_AML_BAD_OPCODE (acpi_status) (0x0001 | AE_CODE_AML) | 128 | #define AE_AML_BAD_OPCODE (acpi_status) (0x0001 | AE_CODE_AML) |