Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 348349
b: refs/heads/master
c: 3eef245
h: refs/heads/master
i:
  348347: 6af9ba2
v: v3
  • Loading branch information
Rafael J. Wysocki committed Jan 4, 2013
1 parent b8bb5f3 commit 2cf4971
Show file tree
Hide file tree
Showing 11 changed files with 112 additions and 825 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ac34d7c8c87c247db0270285950753da045acaad
refs/heads/master: 3eef2455f350708269fe42fab07b8c73efca83dc
18 changes: 0 additions & 18 deletions trunk/drivers/acpi/acpi_memhotplug.c
Original file line number Diff line number Diff line change
Expand Up @@ -226,16 +226,6 @@ static int acpi_memory_enable_device(struct acpi_memory_device *mem_device)
struct acpi_memory_info *info;
int node;


/* Get the range from the _CRS */
result = acpi_memory_get_device_resources(mem_device);
if (result) {
dev_err(&mem_device->device->dev,
"get_device_resources failed\n");
mem_device->state = MEMORY_INVALID_STATE;
return result;
}

node = acpi_get_node(mem_device->device->handle);
/*
* Tell the VM there is more memory here...
Expand Down Expand Up @@ -342,14 +332,6 @@ static void acpi_memory_device_notify(acpi_handle handle, u32 event, void *data)
break;
}

if (acpi_memory_check_device(mem_device))
break;

if (acpi_memory_enable_device(mem_device)) {
acpi_handle_err(handle,"Cannot enable memory device\n");
break;
}

ost_code = ACPI_OST_SC_SUCCESS;
break;

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/acpi/acpica/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -162,5 +162,5 @@ acpi-y += \
utxferror.o \
utxfmutex.o

acpi-$(ACPI_FUTURE_USAGE) += uttrack.o utcache.o utclib.o
acpi-$(ACPI_FUTURE_USAGE) += uttrack.o utcache.o

Loading

0 comments on commit 2cf4971

Please sign in to comment.