1. 26 2月, 2010 2 次提交
    • A
      [IA64] build arch/ia64/kernel/acpi-ext.o when CONFIG_ACPI · e72aca30
      Alex Chiang 提交于
      Simplify the makefile slightly by always building acpi-ext.o when
      CONFIG_ACPI is turned on.
      
      Yes, this adds a little bloat to the other configs, but not much:
         text	   data	    bss	    dec	    hex	filename
          839	     41	      0	    880	    370	arch/ia64/kernel/acpi-ext.o
      
      Before:
         text	   data	    bss	    dec		    hex	filename
      10952753	1299212	1334241	13586206	 cf4f1e	vmlinux
      
      After:
         text	   data	    bss	    dec		    hex	filename
      10953739	1299084	1334241	13587064	 cf5278	vmlinux
      
      (gdb) p 13587064 - 13586206
      $2 = 858
      
      Seems like a small price to pay for the benefit of not having to think
      so hard about the multitude of ia64 configs when reading code/Makefiles.
      Signed-off-by: NAlex Chiang <achiang@hp.com>
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      e72aca30
    • A
      [IA64] Only build arch/ia64/kernel/acpi.o when CONFIG_ACPI · d868080d
      Alex Chiang 提交于
      The following commit broke the ia64 sim_defconfig build:
      	3b2b84c0b81108a9a869a88bf2beeb5a95d81dd1
      	ACPI: processor: driver doesn't need to evaluate _PDC
      
      This is because it added:
      	+#include <acpi/processor.h>
      
      To arch/ia64/kernel/acpi.c. Unfortunately, the ia64_simdefconfig does
      not turn on CONFIG_ACPI, and we get build errors.
      
      The fix described in $subject seems to be the most sensible way to
      untangle the mess.
      
      The other issue is that acpi_get_sysname() is required for all configs,
      most of which define CONFIG_ACPI, but are not CONFIG_IA64_GENERIC. Turn
      it into an inline to cover the "non generic" ia64 configs; to prevent
      a duplicate definition build error, we need to wrap the definition in
      acpi.o inside an #ifdef.
      
      Finally, move the pm_idle and pm_power_off exports into process.c (which
      is always built), similar to other architectures, and allow the sim
      defconfig to link.
      Signed-off-by: NAlex Chiang <achiang@hp.com>
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      d868080d
  2. 25 2月, 2010 4 次提交
  3. 24 2月, 2010 9 次提交
  4. 23 2月, 2010 25 次提交