diff options
Diffstat (limited to 'drivers/pci/hotplug')
-rw-r--r-- | drivers/pci/hotplug/acpiphp_glue.c | 14 | ||||
-rw-r--r-- | drivers/pci/hotplug/acpiphp_ibm.c | 2 | ||||
-rw-r--r-- | drivers/pci/hotplug/sgi_hotplug.c | 4 |
3 files changed, 10 insertions, 10 deletions
diff --git a/drivers/pci/hotplug/acpiphp_glue.c b/drivers/pci/hotplug/acpiphp_glue.c index a3e4705dd8f0..3baee56fa81a 100644 --- a/drivers/pci/hotplug/acpiphp_glue.c +++ b/drivers/pci/hotplug/acpiphp_glue.c | |||
@@ -180,7 +180,7 @@ register_slot(acpi_handle handle, u32 lvl, void *context, void **rv) | |||
180 | struct acpiphp_func *newfunc; | 180 | struct acpiphp_func *newfunc; |
181 | acpi_handle tmp; | 181 | acpi_handle tmp; |
182 | acpi_status status = AE_OK; | 182 | acpi_status status = AE_OK; |
183 | unsigned long adr, sun; | 183 | unsigned long long adr, sun; |
184 | int device, function, retval; | 184 | int device, function, retval; |
185 | 185 | ||
186 | status = acpi_evaluate_integer(handle, "_ADR", NULL, &adr); | 186 | status = acpi_evaluate_integer(handle, "_ADR", NULL, &adr); |
@@ -528,7 +528,7 @@ find_p2p_bridge(acpi_handle handle, u32 lvl, void *context, void **rv) | |||
528 | { | 528 | { |
529 | acpi_status status; | 529 | acpi_status status; |
530 | acpi_handle dummy_handle; | 530 | acpi_handle dummy_handle; |
531 | unsigned long tmp; | 531 | unsigned long long tmp; |
532 | int device, function; | 532 | int device, function; |
533 | struct pci_dev *dev; | 533 | struct pci_dev *dev; |
534 | struct pci_bus *pci_bus = context; | 534 | struct pci_bus *pci_bus = context; |
@@ -573,7 +573,7 @@ find_p2p_bridge(acpi_handle handle, u32 lvl, void *context, void **rv) | |||
573 | static int add_bridge(acpi_handle handle) | 573 | static int add_bridge(acpi_handle handle) |
574 | { | 574 | { |
575 | acpi_status status; | 575 | acpi_status status; |
576 | unsigned long tmp; | 576 | unsigned long long tmp; |
577 | int seg, bus; | 577 | int seg, bus; |
578 | acpi_handle dummy_handle; | 578 | acpi_handle dummy_handle; |
579 | struct pci_bus *pci_bus; | 579 | struct pci_bus *pci_bus; |
@@ -767,7 +767,7 @@ static int get_gsi_base(acpi_handle handle, u32 *gsi_base) | |||
767 | { | 767 | { |
768 | acpi_status status; | 768 | acpi_status status; |
769 | int result = -1; | 769 | int result = -1; |
770 | unsigned long gsb; | 770 | unsigned long long gsb; |
771 | struct acpi_buffer buffer = {ACPI_ALLOCATE_BUFFER, NULL}; | 771 | struct acpi_buffer buffer = {ACPI_ALLOCATE_BUFFER, NULL}; |
772 | union acpi_object *obj; | 772 | union acpi_object *obj; |
773 | void *table; | 773 | void *table; |
@@ -808,7 +808,7 @@ static acpi_status | |||
808 | ioapic_add(acpi_handle handle, u32 lvl, void *context, void **rv) | 808 | ioapic_add(acpi_handle handle, u32 lvl, void *context, void **rv) |
809 | { | 809 | { |
810 | acpi_status status; | 810 | acpi_status status; |
811 | unsigned long sta; | 811 | unsigned long long sta; |
812 | acpi_handle tmp; | 812 | acpi_handle tmp; |
813 | struct pci_dev *pdev; | 813 | struct pci_dev *pdev; |
814 | u32 gsi_base; | 814 | u32 gsi_base; |
@@ -872,7 +872,7 @@ static acpi_status | |||
872 | ioapic_remove(acpi_handle handle, u32 lvl, void *context, void **rv) | 872 | ioapic_remove(acpi_handle handle, u32 lvl, void *context, void **rv) |
873 | { | 873 | { |
874 | acpi_status status; | 874 | acpi_status status; |
875 | unsigned long sta; | 875 | unsigned long long sta; |
876 | acpi_handle tmp; | 876 | acpi_handle tmp; |
877 | u32 gsi_base; | 877 | u32 gsi_base; |
878 | struct acpiphp_ioapic *pos, *n, *ioapic = NULL; | 878 | struct acpiphp_ioapic *pos, *n, *ioapic = NULL; |
@@ -1264,7 +1264,7 @@ static int disable_device(struct acpiphp_slot *slot) | |||
1264 | static unsigned int get_slot_status(struct acpiphp_slot *slot) | 1264 | static unsigned int get_slot_status(struct acpiphp_slot *slot) |
1265 | { | 1265 | { |
1266 | acpi_status status; | 1266 | acpi_status status; |
1267 | unsigned long sta = 0; | 1267 | unsigned long long sta = 0; |
1268 | u32 dvid; | 1268 | u32 dvid; |
1269 | struct list_head *l; | 1269 | struct list_head *l; |
1270 | struct acpiphp_func *func; | 1270 | struct acpiphp_func *func; |
diff --git a/drivers/pci/hotplug/acpiphp_ibm.c b/drivers/pci/hotplug/acpiphp_ibm.c index 2b7c45e39370..b291ee68b4f1 100644 --- a/drivers/pci/hotplug/acpiphp_ibm.c +++ b/drivers/pci/hotplug/acpiphp_ibm.c | |||
@@ -183,7 +183,7 @@ static int ibm_set_attention_status(struct hotplug_slot *slot, u8 status) | |||
183 | union acpi_object args[2]; | 183 | union acpi_object args[2]; |
184 | struct acpi_object_list params = { .pointer = args, .count = 2 }; | 184 | struct acpi_object_list params = { .pointer = args, .count = 2 }; |
185 | acpi_status stat; | 185 | acpi_status stat; |
186 | unsigned long rc; | 186 | unsigned long long rc; |
187 | union apci_descriptor *ibm_slot; | 187 | union apci_descriptor *ibm_slot; |
188 | 188 | ||
189 | ibm_slot = ibm_slot_from_id(hpslot_to_sun(slot)); | 189 | ibm_slot = ibm_slot_from_id(hpslot_to_sun(slot)); |
diff --git a/drivers/pci/hotplug/sgi_hotplug.c b/drivers/pci/hotplug/sgi_hotplug.c index 410fe0394a8e..59f42501acce 100644 --- a/drivers/pci/hotplug/sgi_hotplug.c +++ b/drivers/pci/hotplug/sgi_hotplug.c | |||
@@ -418,7 +418,7 @@ static int enable_slot(struct hotplug_slot *bss_hotplug_slot) | |||
418 | /* | 418 | /* |
419 | * Add the slot's devices to the ACPI infrastructure */ | 419 | * Add the slot's devices to the ACPI infrastructure */ |
420 | if (SN_ACPI_BASE_SUPPORT() && ssdt) { | 420 | if (SN_ACPI_BASE_SUPPORT() && ssdt) { |
421 | unsigned long adr; | 421 | unsigned long long adr; |
422 | struct acpi_device *pdevice; | 422 | struct acpi_device *pdevice; |
423 | struct acpi_device *device; | 423 | struct acpi_device *device; |
424 | acpi_handle phandle; | 424 | acpi_handle phandle; |
@@ -510,7 +510,7 @@ static int disable_slot(struct hotplug_slot *bss_hotplug_slot) | |||
510 | /* free the ACPI resources for the slot */ | 510 | /* free the ACPI resources for the slot */ |
511 | if (SN_ACPI_BASE_SUPPORT() && | 511 | if (SN_ACPI_BASE_SUPPORT() && |
512 | PCI_CONTROLLER(slot->pci_bus)->acpi_handle) { | 512 | PCI_CONTROLLER(slot->pci_bus)->acpi_handle) { |
513 | unsigned long adr; | 513 | unsigned long long adr; |
514 | struct acpi_device *device; | 514 | struct acpi_device *device; |
515 | acpi_handle phandle; | 515 | acpi_handle phandle; |
516 | acpi_handle chandle = NULL; | 516 | acpi_handle chandle = NULL; |