mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6
* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6: (123 commits) dock: make dock driver not a module ACPI: fix ia64 build warning ACPI: hack around sysfs warning with link order ACPI suspend: fix build warning when CONFIG_ACPI_SLEEP=n intel_menlo: fix build warning panasonic-laptop: fix build ACPICA: Update version to 20080926 ACPICA: Add support for zero-length buffer-to-string conversions ACPICA: New: Validation for predefined ACPI methods/objects ACPICA: Fix for implicit return compatibility ACPICA: Fixed a couple memory leaks associated with "implicit return" ACPICA: Optimize buffer allocation procedure ACPICA: Fix possible memory leak, error exit path ACPICA: Fix fault after mem allocation failure in AML parser ACPICA: Remove unused ACPI register bit definition ACPICA: Update version to 20080829 ACPICA: Fix possible memory leak in acpi_ns_get_external_pathname ACPICA: Cleanup for internal Reference Object ACPICA: Update comments - no functional changes ACPICA: Update for Reference ACPI_OPERAND_OBJECT ...
This commit is contained in:
commit
765426e8ee
145 changed files with 5917 additions and 2212 deletions
|
|
@ -169,7 +169,9 @@ static int post_dock_fixups(struct notifier_block *nb, unsigned long val,
|
|||
}
|
||||
|
||||
|
||||
|
||||
static struct acpi_dock_ops acpiphp_dock_ops = {
|
||||
.handler = handle_hotplug_event_func,
|
||||
};
|
||||
|
||||
/* callback routine to register each ACPI PCI slot object */
|
||||
static acpi_status
|
||||
|
|
@ -180,7 +182,7 @@ register_slot(acpi_handle handle, u32 lvl, void *context, void **rv)
|
|||
struct acpiphp_func *newfunc;
|
||||
acpi_handle tmp;
|
||||
acpi_status status = AE_OK;
|
||||
unsigned long adr, sun;
|
||||
unsigned long long adr, sun;
|
||||
int device, function, retval;
|
||||
|
||||
status = acpi_evaluate_integer(handle, "_ADR", NULL, &adr);
|
||||
|
|
@ -285,7 +287,7 @@ register_slot(acpi_handle handle, u32 lvl, void *context, void **rv)
|
|||
*/
|
||||
newfunc->flags &= ~FUNC_HAS_EJ0;
|
||||
if (register_hotplug_dock_device(handle,
|
||||
handle_hotplug_event_func, newfunc))
|
||||
&acpiphp_dock_ops, newfunc))
|
||||
dbg("failed to register dock device\n");
|
||||
|
||||
/* we need to be notified when dock events happen
|
||||
|
|
@ -528,7 +530,7 @@ find_p2p_bridge(acpi_handle handle, u32 lvl, void *context, void **rv)
|
|||
{
|
||||
acpi_status status;
|
||||
acpi_handle dummy_handle;
|
||||
unsigned long tmp;
|
||||
unsigned long long tmp;
|
||||
int device, function;
|
||||
struct pci_dev *dev;
|
||||
struct pci_bus *pci_bus = context;
|
||||
|
|
@ -573,7 +575,7 @@ find_p2p_bridge(acpi_handle handle, u32 lvl, void *context, void **rv)
|
|||
static int add_bridge(acpi_handle handle)
|
||||
{
|
||||
acpi_status status;
|
||||
unsigned long tmp;
|
||||
unsigned long long tmp;
|
||||
int seg, bus;
|
||||
acpi_handle dummy_handle;
|
||||
struct pci_bus *pci_bus;
|
||||
|
|
@ -767,7 +769,7 @@ static int get_gsi_base(acpi_handle handle, u32 *gsi_base)
|
|||
{
|
||||
acpi_status status;
|
||||
int result = -1;
|
||||
unsigned long gsb;
|
||||
unsigned long long gsb;
|
||||
struct acpi_buffer buffer = {ACPI_ALLOCATE_BUFFER, NULL};
|
||||
union acpi_object *obj;
|
||||
void *table;
|
||||
|
|
@ -808,7 +810,7 @@ static acpi_status
|
|||
ioapic_add(acpi_handle handle, u32 lvl, void *context, void **rv)
|
||||
{
|
||||
acpi_status status;
|
||||
unsigned long sta;
|
||||
unsigned long long sta;
|
||||
acpi_handle tmp;
|
||||
struct pci_dev *pdev;
|
||||
u32 gsi_base;
|
||||
|
|
@ -872,7 +874,7 @@ static acpi_status
|
|||
ioapic_remove(acpi_handle handle, u32 lvl, void *context, void **rv)
|
||||
{
|
||||
acpi_status status;
|
||||
unsigned long sta;
|
||||
unsigned long long sta;
|
||||
acpi_handle tmp;
|
||||
u32 gsi_base;
|
||||
struct acpiphp_ioapic *pos, *n, *ioapic = NULL;
|
||||
|
|
@ -1264,7 +1266,7 @@ static int disable_device(struct acpiphp_slot *slot)
|
|||
static unsigned int get_slot_status(struct acpiphp_slot *slot)
|
||||
{
|
||||
acpi_status status;
|
||||
unsigned long sta = 0;
|
||||
unsigned long long sta = 0;
|
||||
u32 dvid;
|
||||
struct list_head *l;
|
||||
struct acpiphp_func *func;
|
||||
|
|
|
|||
|
|
@ -183,7 +183,7 @@ static int ibm_set_attention_status(struct hotplug_slot *slot, u8 status)
|
|||
union acpi_object args[2];
|
||||
struct acpi_object_list params = { .pointer = args, .count = 2 };
|
||||
acpi_status stat;
|
||||
unsigned long rc;
|
||||
unsigned long long rc;
|
||||
union apci_descriptor *ibm_slot;
|
||||
|
||||
ibm_slot = ibm_slot_from_id(hpslot_to_sun(slot));
|
||||
|
|
|
|||
|
|
@ -413,7 +413,7 @@ static int enable_slot(struct hotplug_slot *bss_hotplug_slot)
|
|||
/*
|
||||
* Add the slot's devices to the ACPI infrastructure */
|
||||
if (SN_ACPI_BASE_SUPPORT() && ssdt) {
|
||||
unsigned long adr;
|
||||
unsigned long long adr;
|
||||
struct acpi_device *pdevice;
|
||||
struct acpi_device *device;
|
||||
acpi_handle phandle;
|
||||
|
|
@ -505,7 +505,7 @@ static int disable_slot(struct hotplug_slot *bss_hotplug_slot)
|
|||
/* free the ACPI resources for the slot */
|
||||
if (SN_ACPI_BASE_SUPPORT() &&
|
||||
PCI_CONTROLLER(slot->pci_bus)->acpi_handle) {
|
||||
unsigned long adr;
|
||||
unsigned long long adr;
|
||||
struct acpi_device *device;
|
||||
acpi_handle phandle;
|
||||
acpi_handle chandle = NULL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue