Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 May 2010 05:45:16 +0000 (UTC)
From:      Neel Natu <neel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r208533 - in head/sys/mips: include mips
Message-ID:  <201005250545.o4P5jGf9029367@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: neel
Date: Tue May 25 05:45:16 2010
New Revision: 208533
URL: http://svn.freebsd.org/changeset/base/208533

Log:
  Get rid of empty and unused KSEG0TEXT macros.

Modified:
  head/sys/mips/include/asm.h
  head/sys/mips/mips/swtch.S

Modified: head/sys/mips/include/asm.h
==============================================================================
--- head/sys/mips/include/asm.h	Tue May 25 05:42:12 2010	(r208532)
+++ head/sys/mips/include/asm.h	Tue May 25 05:45:16 2010	(r208533)
@@ -257,10 +257,6 @@ _C_LABEL(x):
 	EXPORT(x ## End);	\
 	END(x)
 
-#define	KSEG0TEXT_START
-#define	KSEG0TEXT_END
-#define	KSEG0TEXT	.text
-
 /*
  * Macros to panic and printf from assembly language.
  */

Modified: head/sys/mips/mips/swtch.S
==============================================================================
--- head/sys/mips/mips/swtch.S	Tue May 25 05:42:12 2010	(r208532)
+++ head/sys/mips/mips/swtch.S	Tue May 25 05:45:16 2010	(r208533)
@@ -216,9 +216,6 @@ LEAF(savectx)
 	move	v0, zero
 END(savectx)
 
-
-KSEG0TEXT_START;
-
 NON_LEAF(mips_cpu_throw, CALLFRAME_SIZ, ra)
 	mfc0	t0, COP_0_STATUS_REG		# t0 = saved status register
 	nop
@@ -376,7 +373,6 @@ sw2:
 	j	ra
 	nop
 END(cpu_switch)
-KSEG0TEXT_END;
 
 /*----------------------------------------------------------------------------
  *



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005250545.o4P5jGf9029367>