diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-11-02 00:50:26 +0100 | 
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-11-02 00:50:26 +0100 | 
| commit | 5b9ddd0d7427c16e5d8779e77ba89c2bc5a7324c (patch) | |
| tree | 1ec257a715f035e7f250fdadd68aa30171b3dfad /drivers/acpi/osl.c | |
| parent | ba210f5de42f4604730ffaea96bfb6e591740bde (diff) | |
| parent | b31968828352ecae41d47aaa703e16c1ba06bfd8 (diff) | |
Merge branch 'acpica'
* acpica:
  ACPICA: Update version to 20150930
  ACPICA: Debugger: Fix dead lock issue ocurred in single stepping mode
  ACPI: Enable build of AML interpreter debugger
  ACPICA: Debugger: Add thread ID support so that single step mode can only apply to the debugger thread
  ACPICA: Debugger: Fix "terminate" command by cleaning up subsystem shutdown logic
  ACPICA: Debugger: Fix "quit/exit" command by cleaning up user commands termination logic
  ACPICA: Linuxize: Export debugger files to Linux
  ACPICA: iASL: General cleanup of the file suffix #defines
  ACPICA: Improve typechecking, both compile-time and runtime
  ACPICA: Update NFIT table to rename a flags field
  ACPICA: Debugger: Update mutexes used for multithreaded debugger
  ACPICA: Update exception code for "file not found" error
  ACPICA: iASL: Add symbolic operator support for Index() operator
  ACPICA: Remove unnecessary conditional compilation
Diffstat (limited to 'drivers/acpi/osl.c')
| -rw-r--r-- | drivers/acpi/osl.c | 11 | 
1 files changed, 3 insertions, 8 deletions
| diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index 739a4a6b3b9b..327291586f84 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c @@ -66,8 +66,6 @@ struct acpi_os_dpc {  /* stuff for debugger support */  int acpi_in_debugger;  EXPORT_SYMBOL(acpi_in_debugger); - -extern char line_buf[80];  #endif				/*ENABLE_DEBUGGER */  static int (*__acpi_os_prepare_sleep)(u8 sleep_state, u32 pm1a_ctrl, @@ -1345,15 +1343,13 @@ acpi_status acpi_os_signal_semaphore(acpi_handle handle, u32 units)  	return AE_OK;  } -#ifdef ACPI_FUTURE_USAGE -u32 acpi_os_get_line(char *buffer) +acpi_status acpi_os_get_line(char *buffer, u32 buffer_length, u32 *bytes_read)  { -  #ifdef ENABLE_DEBUGGER  	if (acpi_in_debugger) {  		u32 chars; -		kdb_read(buffer, sizeof(line_buf)); +		kdb_read(buffer, buffer_length);  		/* remove the CR kdb includes */  		chars = strlen(buffer) - 1; @@ -1361,9 +1357,8 @@ u32 acpi_os_get_line(char *buffer)  	}  #endif -	return 0; +	return AE_OK;  } -#endif				/*  ACPI_FUTURE_USAGE  */  acpi_status acpi_os_signal(u32 function, void *info)  { | 
