1. 04 4月, 2010 1 次提交
    • D
      sparc64: Implement perf_arch_fetch_caller_regs · 954fbc89
      David S. Miller 提交于
      We provide regs->tstate, regs->tpc, regs->tnpc and
      regs->u_regs[UREG_FP].
      
      regs->tstate is necessary for:
      
      	user_mode()		(via perf_exclude_event())
      
      	perf_misc_flags()	(via perf_prepare_sample())
      
      regs->tpc is necessary for:
      
      	perf_instruction_pointer() (via perf_prepare_sample())
      
      and regs->u_regs[UREG_FP] is necessary for:
      
      	perf_callchain()	(via perf_prepare_sample())
      
      The regs->tnpc value is provided just to be tidy.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      954fbc89
  2. 05 12月, 2008 1 次提交
    • S
      sparc,sparc64: unify kernel/ · a88b5ba8
      Sam Ravnborg 提交于
      o Move all files from sparc64/kernel/ to sparc/kernel
        - rename as appropriate
      o Update sparc/Makefile to the changes
      o Update sparc/kernel/Makefile to include the sparc64 files
      
      NOTE: This commit changes link order on sparc64!
      
      Link order had to change for either of sparc32 and sparc64.
      And assuming sparc64 see more testing than sparc32 change link
      order on sparc64 where issues will be caught faster.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      a88b5ba8
  3. 28 4月, 2008 1 次提交