Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc64/sparc64 sun4v doesn't have %ver register.
details: https://anonhg.NetBSD.org/src/rev/4502c80c66d5
branches: trunk
changeset: 358846:4502c80c66d5
user: nakayama <nakayama%NetBSD.org@localhost>
date: Fri Jan 19 12:47:41 2018 +0000
description:
sun4v doesn't have %ver register.
diffstat:
sys/arch/sparc64/sparc64/cpu.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 6b7b5b23b197 -r 4502c80c66d5 sys/arch/sparc64/sparc64/cpu.c
--- a/sys/arch/sparc64/sparc64/cpu.c Fri Jan 19 12:31:27 2018 +0000
+++ b/sys/arch/sparc64/sparc64/cpu.c Fri Jan 19 12:47:41 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.c,v 1.133 2018/01/16 08:23:18 mrg Exp $ */
+/* $NetBSD: cpu.c,v 1.134 2018/01/19 12:47:41 nakayama Exp $ */
/*
* Copyright (c) 1996
@@ -52,7 +52,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.133 2018/01/16 08:23:18 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.134 2018/01/19 12:47:41 nakayama Exp $");
#include "opt_multiprocessor.h"
@@ -549,8 +549,8 @@
aprint_normal(": %s, CPU id %d\n", buf, ci->ci_cpuid);
aprint_naive("\n");
- ci->ci_ver = getver();
if (CPU_ISSUN4U || CPU_ISSUN4US) {
+ ci->ci_ver = getver();
aprint_normal_dev(dev, "manuf %x, impl %x, mask %x\n",
(u_int)GETVER_CPU_MANUF(),
(u_int)GETVER_CPU_IMPL(),
Home |
Main Index |
Thread Index |
Old Index