Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jul 2010 22:36:45 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r210029 - head/sys/mips/include
Message-ID:  <201007132236.o6DMaj1H075974@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Tue Jul 13 22:36:45 2010
New Revision: 210029
URL: http://svn.freebsd.org/changeset/base/210029

Log:
  union cpuprid is also unused now

Modified:
  head/sys/mips/include/cpu.h

Modified: head/sys/mips/include/cpu.h
==============================================================================
--- head/sys/mips/include/cpu.h	Tue Jul 13 22:35:09 2010	(r210028)
+++ head/sys/mips/include/cpu.h	Tue Jul 13 22:36:45 2010	(r210029)
@@ -303,28 +303,6 @@
  */
 #define	get_cyclecount()	mips_rd_count()
 
-/*
- * CPU identification, from PRID register.
- */
-union cpuprid {
-	int cpuprid;
-	struct {
-#if BYTE_ORDER == BIG_ENDIAN
-		u_int pad1:8;	/* reserved */
-		u_int cp_vendor:8;	/* company identifier */
-		u_int cp_imp:8;	/* implementation identifier */
-		u_int cp_majrev:4;	/* major revision identifier */
-		u_int cp_minrev:4;	/* minor revision identifier */
-#else
-		u_int cp_minrev:4;	/* minor revision identifier */
-		u_int cp_majrev:4;	/* major revision identifier */
-		u_int cp_imp:8;	/* implementation identifier */
-		u_int cp_vendor:8;	/* company identifier */
-		u_int pad1:8;	/* reserved */
-#endif
-	}      cpu;
-};
-
 #endif				/* !_LOCORE */
 
 /*



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