1. 11 5月, 2009 1 次提交
    • Y
      x86: clean up and fix setup_clear/force_cpu_cap handling · 3e0c3737
      Yinghai Lu 提交于
      setup_force_cpu_cap() only have one user (Xen guest code),
      but it should not reuse cleared_cpu_cpus, otherwise it
      will have problems on SMP.
      
      Need to have a separate cpu_cpus_set array too, for forced-on
      flags, beyond the forced-off flags.
      
      Also need to setup handling before all cpus caps are combined.
      
      [ Impact: fix the forced-set CPU feature flag logic ]
      
      Cc: H. Peter Anvin <hpa@linux.intel.com>
      Cc: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
      Cc: Rusty Russell <rusty@rustcorp.com.au>
      Signed-off-by: NYinghai Lu <yinghai.lu@kernel.org>
      LKML-Reference: <new-submission>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      3e0c3737
  2. 03 5月, 2009 37 次提交
  3. 02 5月, 2009 2 次提交
    • H
      m32r: use __stringify() macro in assembler.h · 9cd67243
      Hirokazu Takata 提交于
      Replace #x with __stringify(x).
      Also, #ifndef __STR is removed and undefine __STR macro at the beginning.
      
      The __STR() macro is still remained, because the assembler.h might be
      included from assembly codes as well as C codes.
      Signed-off-by: NHirokazu Takata <takata@linux-m32r.org>
      9cd67243
    • H
      m32r: build fix for __stringify macro · 9c88b06d
      Hirokazu Takata 提交于
      This patch fixes the following build error of 2.6.30-rc3-git2:
      
            AS      arch/m32r/kernel/head.o
          In file included from /include/linux/init.h:7,
                           from /arch/m32r/kernel/head.S:11:
          /include/linux/stringify.h:9: error: syntax error in macro parameter list
          /include/linux/stringify.h:10: error: syntax error in macro parameter list
      
      This build error was caused at __HEAD macro in arch/m32r/kernel/head.S,
      which uses __stringify() macro.
      
      Remove -traditional option from EXTRA_AFLAGS for the m32r,
      because the __stringify() macro depends on the gcc's variadic macro
      extension function, due to commit:
      
          Make __stringify support variable argument macros too
          commit: 8f7c2c37Signed-off-by: NHirokazu Takata <takata@linux-m32r.org>
      9c88b06d