1. 19 3月, 2010 38 次提交
  2. 15 3月, 2010 2 次提交
    • L
      Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6 · a3d3203e
      Linus Torvalds 提交于
      * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6: (34 commits)
        ACPI: processor: push file static MADT pointer into internal map_madt_entry()
        ACPI: processor: refactor internal map_lsapic_id()
        ACPI: processor: refactor internal map_x2apic_id()
        ACPI: processor: refactor internal map_lapic_id()
        ACPI: processor: driver doesn't need to evaluate _PDC
        ACPI: processor: remove early _PDC optin quirks
        ACPI: processor: add internal processor_physically_present()
        ACPI: processor: move acpi_get_cpuid into processor_core.c
        ACPI: processor: export acpi_get_cpuid()
        ACPI: processor: mv processor_pdc.c processor_core.c
        ACPI: processor: mv processor_core.c processor_driver.c
        ACPI: plan to delete "acpi=ht" boot option
        ACPI: remove "acpi=ht" DMI blacklist
        PNPACPI: add bus number support
        PNPACPI: add window support
        resource: add window support
        resource: add bus number support
        resource: expand IORESOURCE_TYPE_BITS to make room for bus resource type
        acpiphp: Execute ACPI _REG method for hotadded devices
        ACPI video: Be more liberal in validating _BQC behaviour
        ...
      a3d3203e
    • W
      init dynamic bin_attribute structures · f937331b
      Wolfram Sang 提交于
      Commit 6992f533 ("sysfs: Use one lockdep
      class per sysfs attribute.") introduced this requirement.  First, at25
      was fixed manually.  Then, other occurences were found with coccinelle
      and the following semantic patch.  Results were reviewed and fixed up:
      
          @ init @
          identifier struct_name, bin;
          @@
      
          	struct struct_name {
          		...
          		struct bin_attribute bin;
          		...
          	};
      
          @ main extends init @
          expression E;
          statement S;
          identifier name, err;
          @@
      
          (
          	struct struct_name *name;
          |
          -	struct struct_name *name = NULL;
          +	struct struct_name *name;
          )
          	...
          (
          	sysfs_bin_attr_init(&name->bin);
          |
          +	sysfs_bin_attr_init(&name->bin);
          	if (sysfs_create_bin_file(E, &name->bin))
          		S
          |
          +	sysfs_bin_attr_init(&name->bin);
          	err = sysfs_create_bin_file(E, &name->bin);
          )
      Signed-off-by: NWolfram Sang <w.sang@pengutronix.de>
      Cc: Eric W. Biederman <ebiederm@xmission.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      f937331b