From: Carl Spalletta <cspalletta@yahoo.com>
To: lkml <linux-kernel@vger.kernel.org>
Cc: len.brown@intel.com, acpi-devel@lists.sourceforge.net
Subject: [PATCH] remove 68 dead prototypes from include/acpi/acdebug.h
Date: Mon, 19 Jul 2004 17:20:32 -0700 (PDT) [thread overview]
Message-ID: <20040720002032.64645.qmail@web53807.mail.yahoo.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 9859 bytes --]
This patch removes 68 prototypes of nonexistent functions.
N.B.
File to be patched has not been touched in more than a year except for a change
of copyright date.
This patch has also been included as an attachment due to my inability to cut and paste
<tab> chars embedded in file - they are picked up as sequences of spaces. Use attached
version or 'unexpand' the following.
Signed-off-by: Carl Spalletta <cspalletta@yahoo.com>
diff -ru /usr/src/linux-2.6.7-orig/include/acpi/acdebug.h
/usr/src/linux-2.6.7-new/include/acpi/acdebug.h
--- /usr/src/linux-2.6.7-orig/include/acpi/acdebug.h 2004-06-15 22:18:59.000000000 -0700
+++ /usr/src/linux-2.6.7-new/include/acpi/acdebug.h 2004-07-18 20:00:10.000000000 -0700
@@ -92,378 +92,31 @@
union acpi_parse_object *op,
u32 op_type);
-acpi_status
-acpi_db_start_command (
- struct acpi_walk_state *walk_state,
- union acpi_parse_object *op);
-
void
acpi_db_method_end (
struct acpi_walk_state *walk_state);
-
-/*
- * dbcmds - debug commands and output routines
- */
-
-void
-acpi_db_display_table_info (
- char *table_arg);
-
-void
-acpi_db_unload_acpi_table (
- char *table_arg,
- char *instance_arg);
-
-void
-acpi_db_set_method_breakpoint (
- char *location,
- struct acpi_walk_state *walk_state,
- union acpi_parse_object *op);
-
-void
-acpi_db_set_method_call_breakpoint (
- union acpi_parse_object *op);
-
-void
-acpi_db_disassemble_aml (
- char *statements,
- union acpi_parse_object *op);
-
-void
-acpi_db_dump_namespace (
- char *start_arg,
- char *depth_arg);
-
-void
-acpi_db_dump_namespace_by_owner (
- char *owner_arg,
- char *depth_arg);
-
-void
-acpi_db_send_notify (
- char *name,
- u32 value);
-
-void
-acpi_db_set_method_data (
- char *type_arg,
- char *index_arg,
- char *value_arg);
-
-acpi_status
-acpi_db_display_objects (
- char *obj_type_arg,
- char *display_count_arg);
-
-acpi_status
-acpi_db_find_name_in_namespace (
- char *name_arg);
-
-void
-acpi_db_set_scope (
- char *name);
-
-void
-acpi_db_find_references (
- char *object_arg);
-
-void
-acpi_db_display_locks (void);
-
-
-void
-acpi_db_display_resources (
- char *object_arg);
-
-void
-acpi_db_display_gpes (void);
-
-void
-acpi_db_check_integrity (
- void);
-
-acpi_status
-acpi_db_integrity_walk (
- acpi_handle obj_handle,
- u32 nesting_level,
- void *context,
- void **return_value);
-
-acpi_status
-acpi_db_walk_and_match_name (
- acpi_handle obj_handle,
- u32 nesting_level,
- void *context,
- void **return_value);
-
-acpi_status
-acpi_db_walk_for_references (
- acpi_handle obj_handle,
- u32 nesting_level,
- void *context,
- void **return_value);
-
-acpi_status
-acpi_db_walk_for_specific_objects (
- acpi_handle obj_handle,
- u32 nesting_level,
- void *context,
- void **return_value);
-
-void
-acpi_db_generate_gpe (
- char *gpe_arg,
- char *block_arg);
-
/*
* dbdisply - debug display commands
*/
void
-acpi_db_display_method_info (
- union acpi_parse_object *op);
-
-void
-acpi_db_decode_and_display_object (
- char *target,
- char *output_type);
-
-void
acpi_db_display_result_object (
union acpi_operand_object *obj_desc,
struct acpi_walk_state *walk_state);
-acpi_status
-acpi_db_display_all_methods (
- char *display_count_arg);
-
-void
-acpi_db_display_arguments (
- void);
-
-void
-acpi_db_display_locals (
- void);
-
-void
-acpi_db_display_results (
- void);
-
-void
-acpi_db_display_calling_tree (
- void);
-
-void
-acpi_db_display_object_type (
- char *object_arg);
-
void
acpi_db_display_argument_object (
union acpi_operand_object *obj_desc,
struct acpi_walk_state *walk_state);
-void
-acpi_db_dump_parser_descriptor (
- union acpi_parse_object *op);
-
-void *
-acpi_db_get_pointer (
- void *target);
-
-
-/*
- * dbexec - debugger control method execution
- */
-
-void
-acpi_db_execute (
- char *name,
- char **args,
- u32 flags);
-
-void
-acpi_db_create_execution_threads (
- char *num_threads_arg,
- char *num_loops_arg,
- char *method_name_arg);
-
-acpi_status
-acpi_db_execute_method (
- struct acpi_db_method_info *info,
- struct acpi_buffer *return_obj);
-
-void
-acpi_db_execute_setup (
- struct acpi_db_method_info *info);
-
-u32
-acpi_db_get_outstanding_allocations (
- void);
-
-void ACPI_SYSTEM_XFACE
-acpi_db_method_thread (
- void *context);
-
-acpi_status
-acpi_db_execution_walk (
- acpi_handle obj_handle,
- u32 nesting_level,
- void *context,
- void **return_value);
-
-
-/*
- * dbfileio - Debugger file I/O commands
- */
-
-acpi_object_type
-acpi_db_match_argument (
- char *user_argument,
- struct argument_info *arguments);
-
-acpi_status
-ae_local_load_table (
- struct acpi_table_header *table_ptr);
-
-void
-acpi_db_close_debug_file (
- void);
-
-void
-acpi_db_open_debug_file (
- char *name);
-
-acpi_status
-acpi_db_load_acpi_table (
- char *filename);
-
-acpi_status
-acpi_db_get_table_from_file (
- char *filename,
- struct acpi_table_header **table);
-
-acpi_status
-acpi_db_read_table_from_file (
- char *filename,
- struct acpi_table_header **table);
-
-/*
- * dbhistry - debugger HISTORY command
- */
-
-void
-acpi_db_add_to_history (
- char *command_line);
-
-void
-acpi_db_display_history (void);
-
-char *
-acpi_db_get_from_history (
- char *command_num_arg);
-
-
/*
* dbinput - user front-end to the AML debugger
*/
acpi_status
-acpi_db_command_dispatch (
- char *input_buffer,
- struct acpi_walk_state *walk_state,
- union acpi_parse_object *op);
-
-void ACPI_SYSTEM_XFACE
-acpi_db_execute_thread (
- void *context);
-
-acpi_status
acpi_db_user_commands (
char prompt,
union acpi_parse_object *op);
-void
-acpi_db_display_help (
- char *help_type);
-
-char *
-acpi_db_get_next_token (
- char *string,
- char **next);
-
-u32
-acpi_db_get_line (
- char *input_buffer);
-
-u32
-acpi_db_match_command (
- char *user_command);
-
-void
-acpi_db_single_thread (
- void);
-
-
-/*
- * dbstats - Generation and display of ACPI table statistics
- */
-
-void
-acpi_db_generate_statistics (
- union acpi_parse_object *root,
- u8 is_method);
-
-
-acpi_status
-acpi_db_display_statistics (
- char *type_arg);
-
-acpi_status
-acpi_db_classify_one_object (
- acpi_handle obj_handle,
- u32 nesting_level,
- void *context,
- void **return_value);
-
-void
-acpi_db_count_namespace_objects (
- void);
-
-void
-acpi_db_enumerate_object (
- union acpi_operand_object *obj_desc);
-
-
-/*
- * dbutils - AML debugger utilities
- */
-
-void
-acpi_db_set_output_destination (
- u32 where);
-
-void
-acpi_db_dump_buffer (
- u32 address);
-
-void
-acpi_db_dump_object (
- union acpi_object *obj_desc,
- u32 level);
-
-void
-acpi_db_prep_namestring (
- char *name);
-
-
-acpi_status
-acpi_db_second_pass_parse (
- union acpi_parse_object *root);
-
-struct acpi_namespace_node *
-acpi_db_local_ns_lookup (
- char *name);
-
-
#endif /* __ACDEBUG_H__ */
[-- Attachment #2: acdebug-patch --]
[-- Type: application/octet-stream, Size: 9843 bytes --]
This patch removes 68 prototypes of nonexistent functions.
N.B.
Patched file has not been touched in more than a year except for a change of copyright date.
The patch has also been included as an attachment due to my inability to cut and paste
<tab> chars embedded in file - they are picked up as sequences of spaces. Use that or
'unexpand' the version below.
Signed-off-by: Carl Spalletta <cspalletta@yahoo.com>
diff -ru /usr/src/linux-2.6.7-orig/include/acpi/acdebug.h /usr/src/linux-2.6.7-new/include/acpi/acdebug.h
--- /usr/src/linux-2.6.7-orig/include/acpi/acdebug.h 2004-06-15 22:18:59.000000000 -0700
+++ /usr/src/linux-2.6.7-new/include/acpi/acdebug.h 2004-07-18 20:00:10.000000000 -0700
@@ -92,378 +92,31 @@
union acpi_parse_object *op,
u32 op_type);
-acpi_status
-acpi_db_start_command (
- struct acpi_walk_state *walk_state,
- union acpi_parse_object *op);
-
void
acpi_db_method_end (
struct acpi_walk_state *walk_state);
-
-/*
- * dbcmds - debug commands and output routines
- */
-
-void
-acpi_db_display_table_info (
- char *table_arg);
-
-void
-acpi_db_unload_acpi_table (
- char *table_arg,
- char *instance_arg);
-
-void
-acpi_db_set_method_breakpoint (
- char *location,
- struct acpi_walk_state *walk_state,
- union acpi_parse_object *op);
-
-void
-acpi_db_set_method_call_breakpoint (
- union acpi_parse_object *op);
-
-void
-acpi_db_disassemble_aml (
- char *statements,
- union acpi_parse_object *op);
-
-void
-acpi_db_dump_namespace (
- char *start_arg,
- char *depth_arg);
-
-void
-acpi_db_dump_namespace_by_owner (
- char *owner_arg,
- char *depth_arg);
-
-void
-acpi_db_send_notify (
- char *name,
- u32 value);
-
-void
-acpi_db_set_method_data (
- char *type_arg,
- char *index_arg,
- char *value_arg);
-
-acpi_status
-acpi_db_display_objects (
- char *obj_type_arg,
- char *display_count_arg);
-
-acpi_status
-acpi_db_find_name_in_namespace (
- char *name_arg);
-
-void
-acpi_db_set_scope (
- char *name);
-
-void
-acpi_db_find_references (
- char *object_arg);
-
-void
-acpi_db_display_locks (void);
-
-
-void
-acpi_db_display_resources (
- char *object_arg);
-
-void
-acpi_db_display_gpes (void);
-
-void
-acpi_db_check_integrity (
- void);
-
-acpi_status
-acpi_db_integrity_walk (
- acpi_handle obj_handle,
- u32 nesting_level,
- void *context,
- void **return_value);
-
-acpi_status
-acpi_db_walk_and_match_name (
- acpi_handle obj_handle,
- u32 nesting_level,
- void *context,
- void **return_value);
-
-acpi_status
-acpi_db_walk_for_references (
- acpi_handle obj_handle,
- u32 nesting_level,
- void *context,
- void **return_value);
-
-acpi_status
-acpi_db_walk_for_specific_objects (
- acpi_handle obj_handle,
- u32 nesting_level,
- void *context,
- void **return_value);
-
-void
-acpi_db_generate_gpe (
- char *gpe_arg,
- char *block_arg);
-
/*
* dbdisply - debug display commands
*/
void
-acpi_db_display_method_info (
- union acpi_parse_object *op);
-
-void
-acpi_db_decode_and_display_object (
- char *target,
- char *output_type);
-
-void
acpi_db_display_result_object (
union acpi_operand_object *obj_desc,
struct acpi_walk_state *walk_state);
-acpi_status
-acpi_db_display_all_methods (
- char *display_count_arg);
-
-void
-acpi_db_display_arguments (
- void);
-
-void
-acpi_db_display_locals (
- void);
-
-void
-acpi_db_display_results (
- void);
-
-void
-acpi_db_display_calling_tree (
- void);
-
-void
-acpi_db_display_object_type (
- char *object_arg);
-
void
acpi_db_display_argument_object (
union acpi_operand_object *obj_desc,
struct acpi_walk_state *walk_state);
-void
-acpi_db_dump_parser_descriptor (
- union acpi_parse_object *op);
-
-void *
-acpi_db_get_pointer (
- void *target);
-
-
-/*
- * dbexec - debugger control method execution
- */
-
-void
-acpi_db_execute (
- char *name,
- char **args,
- u32 flags);
-
-void
-acpi_db_create_execution_threads (
- char *num_threads_arg,
- char *num_loops_arg,
- char *method_name_arg);
-
-acpi_status
-acpi_db_execute_method (
- struct acpi_db_method_info *info,
- struct acpi_buffer *return_obj);
-
-void
-acpi_db_execute_setup (
- struct acpi_db_method_info *info);
-
-u32
-acpi_db_get_outstanding_allocations (
- void);
-
-void ACPI_SYSTEM_XFACE
-acpi_db_method_thread (
- void *context);
-
-acpi_status
-acpi_db_execution_walk (
- acpi_handle obj_handle,
- u32 nesting_level,
- void *context,
- void **return_value);
-
-
-/*
- * dbfileio - Debugger file I/O commands
- */
-
-acpi_object_type
-acpi_db_match_argument (
- char *user_argument,
- struct argument_info *arguments);
-
-acpi_status
-ae_local_load_table (
- struct acpi_table_header *table_ptr);
-
-void
-acpi_db_close_debug_file (
- void);
-
-void
-acpi_db_open_debug_file (
- char *name);
-
-acpi_status
-acpi_db_load_acpi_table (
- char *filename);
-
-acpi_status
-acpi_db_get_table_from_file (
- char *filename,
- struct acpi_table_header **table);
-
-acpi_status
-acpi_db_read_table_from_file (
- char *filename,
- struct acpi_table_header **table);
-
-/*
- * dbhistry - debugger HISTORY command
- */
-
-void
-acpi_db_add_to_history (
- char *command_line);
-
-void
-acpi_db_display_history (void);
-
-char *
-acpi_db_get_from_history (
- char *command_num_arg);
-
-
/*
* dbinput - user front-end to the AML debugger
*/
acpi_status
-acpi_db_command_dispatch (
- char *input_buffer,
- struct acpi_walk_state *walk_state,
- union acpi_parse_object *op);
-
-void ACPI_SYSTEM_XFACE
-acpi_db_execute_thread (
- void *context);
-
-acpi_status
acpi_db_user_commands (
char prompt,
union acpi_parse_object *op);
-void
-acpi_db_display_help (
- char *help_type);
-
-char *
-acpi_db_get_next_token (
- char *string,
- char **next);
-
-u32
-acpi_db_get_line (
- char *input_buffer);
-
-u32
-acpi_db_match_command (
- char *user_command);
-
-void
-acpi_db_single_thread (
- void);
-
-
-/*
- * dbstats - Generation and display of ACPI table statistics
- */
-
-void
-acpi_db_generate_statistics (
- union acpi_parse_object *root,
- u8 is_method);
-
-
-acpi_status
-acpi_db_display_statistics (
- char *type_arg);
-
-acpi_status
-acpi_db_classify_one_object (
- acpi_handle obj_handle,
- u32 nesting_level,
- void *context,
- void **return_value);
-
-void
-acpi_db_count_namespace_objects (
- void);
-
-void
-acpi_db_enumerate_object (
- union acpi_operand_object *obj_desc);
-
-
-/*
- * dbutils - AML debugger utilities
- */
-
-void
-acpi_db_set_output_destination (
- u32 where);
-
-void
-acpi_db_dump_buffer (
- u32 address);
-
-void
-acpi_db_dump_object (
- union acpi_object *obj_desc,
- u32 level);
-
-void
-acpi_db_prep_namestring (
- char *name);
-
-
-acpi_status
-acpi_db_second_pass_parse (
- union acpi_parse_object *root);
-
-struct acpi_namespace_node *
-acpi_db_local_ns_lookup (
- char *name);
-
-
#endif /* __ACDEBUG_H__ */
reply other threads:[~2004-07-20 0:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040720002032.64645.qmail@web53807.mail.yahoo.com \
--to=cspalletta@yahoo.com \
--cc=acpi-devel@lists.sourceforge.net \
--cc=len.brown@intel.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®