Module Name: src Committed By: tsutsui Date: Sat Nov 5 15:27:52 UTC 2011
Modified Files: src/sys/arch/luna68k/luna68k: locore.s Log Message: Remove unused getsp(). To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/sys/arch/luna68k/luna68k/locore.s Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/luna68k/luna68k/locore.s diff -u src/sys/arch/luna68k/luna68k/locore.s:1.39 src/sys/arch/luna68k/luna68k/locore.s:1.40 --- src/sys/arch/luna68k/luna68k/locore.s:1.39 Sat Nov 5 15:23:38 2011 +++ src/sys/arch/luna68k/luna68k/locore.s Sat Nov 5 15:27:51 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: locore.s,v 1.39 2011/11/05 15:23:38 tsutsui Exp $ */ +/* $NetBSD: locore.s,v 1.40 2011/11/05 15:27:51 tsutsui Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -956,17 +956,6 @@ ENTRY(ecacheon) ENTRY(ecacheoff) rts -/* - * Get callers current SP value. - * Note that simply taking the address of a local variable in a C function - * doesn't work because callee saved registers may be outside the stack frame - * defined by %A6 (e.g. GCC generated code). - */ -ENTRY(getsp) - movl %sp,%d0 | get current SP - addql #4,%d0 | compensate for return address - rts - ENTRY_NOPROFILE(getsfc) movc %sfc,%d0 rts