diff options
author | Len Brown <len.brown@intel.com> | 2007-02-03 01:14:35 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-02-03 01:14:35 -0500 |
commit | 975a8e3ed2b9eab9f062a1e0ba7fe180e15204e1 (patch) | |
tree | 59b654df0b066b6d6b8ea16f5ae581b8fb45c1d5 /drivers/acpi/processor_core.c | |
parent | 1fcb71b84b05ff3bfd5b5b2eca9a9b3d13a76e3a (diff) | |
parent | bfd80223d73f80e1d1c69dace9151756b3ef3b49 (diff) |
Pull sysfs into test branch
Conflicts:
Documentation/feature-removal-schedule.txt
include/acpi/acpi_drivers.h
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/processor_core.c')
-rw-r--r-- | drivers/acpi/processor_core.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/acpi/processor_core.c b/drivers/acpi/processor_core.c index eacf9a25201..0079bc51082 100644 --- a/drivers/acpi/processor_core.c +++ b/drivers/acpi/processor_core.c | |||
@@ -814,7 +814,7 @@ int acpi_processor_device_add(acpi_handle handle, struct acpi_device **device) | |||
814 | return -ENODEV; | 814 | return -ENODEV; |
815 | 815 | ||
816 | if ((pr->id >= 0) && (pr->id < NR_CPUS)) { | 816 | if ((pr->id >= 0) && (pr->id < NR_CPUS)) { |
817 | kobject_uevent(&(*device)->kobj, KOBJ_ONLINE); | 817 | kobject_uevent(&(*device)->dev.kobj, KOBJ_ONLINE); |
818 | } | 818 | } |
819 | return 0; | 819 | return 0; |
820 | } | 820 | } |
@@ -852,13 +852,13 @@ acpi_processor_hotplug_notify(acpi_handle handle, u32 event, void *data) | |||
852 | } | 852 | } |
853 | 853 | ||
854 | if (pr->id >= 0 && (pr->id < NR_CPUS)) { | 854 | if (pr->id >= 0 && (pr->id < NR_CPUS)) { |
855 | kobject_uevent(&device->kobj, KOBJ_OFFLINE); | 855 | kobject_uevent(&device->dev.kobj, KOBJ_OFFLINE); |
856 | break; | 856 | break; |
857 | } | 857 | } |
858 | 858 | ||
859 | result = acpi_processor_start(device); | 859 | result = acpi_processor_start(device); |
860 | if ((!result) && ((pr->id >= 0) && (pr->id < NR_CPUS))) { | 860 | if ((!result) && ((pr->id >= 0) && (pr->id < NR_CPUS))) { |
861 | kobject_uevent(&device->kobj, KOBJ_ONLINE); | 861 | kobject_uevent(&device->dev.kobj, KOBJ_ONLINE); |
862 | } else { | 862 | } else { |
863 | printk(KERN_ERR PREFIX "Device [%s] failed to start\n", | 863 | printk(KERN_ERR PREFIX "Device [%s] failed to start\n", |
864 | acpi_device_bid(device)); | 864 | acpi_device_bid(device)); |
@@ -881,7 +881,7 @@ acpi_processor_hotplug_notify(acpi_handle handle, u32 event, void *data) | |||
881 | } | 881 | } |
882 | 882 | ||
883 | if ((pr->id < NR_CPUS) && (cpu_present(pr->id))) | 883 | if ((pr->id < NR_CPUS) && (cpu_present(pr->id))) |
884 | kobject_uevent(&device->kobj, KOBJ_OFFLINE); | 884 | kobject_uevent(&device->dev.kobj, KOBJ_OFFLINE); |
885 | break; | 885 | break; |
886 | default: | 886 | default: |
887 | ACPI_DEBUG_PRINT((ACPI_DB_INFO, | 887 | ACPI_DEBUG_PRINT((ACPI_DB_INFO, |