1. 10 2月, 2009 1 次提交
    • T
      x86: fix math_emu register frame access · d315760f
      Tejun Heo 提交于
      do_device_not_available() is the handler for #NM and it declares that
      it takes a unsigned long and calls math_emu(), which takes a long
      argument and surprisingly expects the stack frame starting at the zero
      argument would match struct math_emu_info, which isn't true regardless
      of configuration in the current code.
      
      This patch makes do_device_not_available() take struct pt_regs like
      other exception handlers and initialize struct math_emu_info with
      pointer to it and pass pointer to the math_emu_info to math_emulate()
      like normal C functions do.  This way, unless gcc makes a copy of
      struct pt_regs in do_device_not_available(), the register frame is
      correctly accessed regardless of kernel configuration or compiler
      used.
      
      This doesn't fix all math_emu problems but it at least gets it
      somewhat working.
      Signed-off-by: NTejun Heo <tj@kernel.org>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      d315760f
  2. 09 2月, 2009 1 次提交
  3. 18 6月, 2008 1 次提交
    • P
      x86: coding style fixes to arch/x86/math-emu/reg_constant · f016e15c
      Paolo Ciarrocchi 提交于
      Before:
      total: 6 errors, 1 warnings, 117 lines checked
      
      After:
      total: 0 errors, 1 warnings, 117 lines checked
      
      paolo@paolo-desktop:~/linux.trees.git$ md5sum /tmp/reg_constant.o.*
      780388a3056d58fb759efaf190d5d3d1  /tmp/reg_constant.o.after
      780388a3056d58fb759efaf190d5d3d1  /tmp/reg_constant.o.before
      
      paolo@paolo-desktop:~/linux.trees.git$ size /tmp/reg_constant.o.*
         text    data     bss     dec     hex filename
          457       0       0     457     1c9 /tmp/reg_constant.o.after
          457       0       0     457     1c9 /tmp/reg_constant.o.before
      Signed-off-by: NPaolo Ciarrocchi <paolo.ciarrocchi@gmail.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      f016e15c
  4. 04 6月, 2008 1 次提交
  5. 20 4月, 2008 1 次提交
  6. 17 4月, 2008 2 次提交
  7. 30 1月, 2008 5 次提交
  8. 15 10月, 2007 1 次提交
  9. 11 10月, 2007 1 次提交