1. 28 7月, 2008 1 次提交
    • S
      sparc, sparc64: use arch/sparc/include · a439fe51
      Sam Ravnborg 提交于
      The majority of this patch was created by the following script:
      
      ***
      ASM=arch/sparc/include/asm
      mkdir -p $ASM
      git mv include/asm-sparc64/ftrace.h $ASM
      git rm include/asm-sparc64/*
      git mv include/asm-sparc/* $ASM
      sed -ie 's/asm-sparc64/asm/g' $ASM/*
      sed -ie 's/asm-sparc/asm/g' $ASM/*
      ***
      
      The rest was an update of the top-level Makefile to use sparc
      for header files when sparc64 is being build.
      And a small fixlet to pick up the correct unistd.h from
      sparc64 code.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      a439fe51
  2. 18 7月, 2008 1 次提交
    • S
      sparc: copy sparc64 specific files to asm-sparc · a00736e9
      Sam Ravnborg 提交于
      Used the following script to copy the files:
      cd include
      set -e
      SPARC64=`ls asm-sparc64`
      for FILE in ${SPARC64}; do
      	if [ -f asm-sparc/$FILE ]; then
      		echo $FILE exist in asm-sparc
      	else
      		git mv asm-sparc64/$FILE asm-sparc/$FILE
      		printf "#include <asm-sparc/$FILE>\n" > asm-sparc64/$FILE
      		git add asm-sparc64/$FILE
      	fi
      done
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      a00736e9
  3. 05 3月, 2008 1 次提交
  4. 09 2月, 2008 1 次提交
  5. 17 10月, 2007 2 次提交
  6. 20 7月, 2007 1 次提交
  7. 09 5月, 2007 1 次提交
  8. 10 12月, 2006 1 次提交
    • D
      [SPARC64]: Fix several kprobes bugs. · f0882589
      David S. Miller 提交于
      - relbranch_fixup(), for non-branches, would end up setting
        regs->tnpc incorrectly, in fact it would set it equal to
        regs->tpc which would cause that instruction to execute twice
      
        Also, if this is not a PC-relative branch, we should just
        leave regs->tnpc as-is.  This covers cases like 'jmpl' which
        branch to absolute values.
      
      - To be absolutely %100 safe, we need to flush the instruction
        cache for all assignments to kprobe->ainsn.insn[], including
        cases like add_aggr_kprobe()
      
      - prev_kprobe's status field needs to be 'unsigned long' to match
        the type of the value it is saving
      
      - jprobes were totally broken:
        = jprobe_return() can run in the stack frame of the jprobe handler,
          or in an even deeper stack frame, thus we'll be in the wrong
          register window than the one from the original probe state.
      
          So unwind using 'restore' instructions, if necessary, right
          before we do the jprobe_return() breakpoint trap.
      
        = There is no reason to save/restore the register window saved
          at %sp at jprobe trigger time.  Those registers cannot be
          modified by the jprobe handler.  Also, this code was saving
          and restoring "sizeof (struct sparc_stackf)" bytes.  Depending
          upon the caller, this could clobber unrelated stack frame
          pieces if there is only a basic 128-byte register window
          stored on the stack, without the argument save area.
      
          So just saving and restoring struct pt_regs is sufficient.
      
        = Kill the "jprobe_saved_esp", totally unused.
      
          Also, delete "jprobe_saved_regs_location", with the stack frame
          unwind now done explicitly by jprobe_return(), this check is
          superfluous.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      f0882589
  9. 01 8月, 2006 1 次提交
  10. 27 6月, 2006 1 次提交
  11. 26 4月, 2006 1 次提交
  12. 11 1月, 2006 3 次提交
  13. 07 11月, 2005 1 次提交
  14. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4