Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/alpha/include Garbage-collect GET_CPUINFO; it's no ...



details:   https://anonhg.NetBSD.org/src/rev/28e2cba90569
branches:  trunk
changeset: 943457:28e2cba90569
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri Sep 04 02:58:18 2020 +0000

description:
Garbage-collect GET_CPUINFO; it's no longer used.

diffstat:

 sys/arch/alpha/include/asm.h |  6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diffs (27 lines):

diff -r 730896bdf74e -r 28e2cba90569 sys/arch/alpha/include/asm.h
--- a/sys/arch/alpha/include/asm.h      Fri Sep 04 02:54:56 2020 +0000
+++ b/sys/arch/alpha/include/asm.h      Fri Sep 04 02:58:18 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: asm.h,v 1.41 2020/09/04 02:54:56 thorpej Exp $ */
+/* $NetBSD: asm.h,v 1.42 2020/09/04 02:58:18 thorpej Exp $ */
 
 /*
  * Copyright (c) 1991,1990,1989,1994,1995,1996 Carnegie Mellon University
@@ -665,8 +665,6 @@
  *
  * All return values are in v0.
  */
-#define        GET_CPUINFO             call_pal PAL_OSF1_rdval
-
 #define        GET_CURLWP                                                      \
        call_pal PAL_OSF1_rdval                                 ;       \
        ldq     v0, CPU_INFO_CURLWP(v0)
@@ -683,8 +681,6 @@
 
 IMPORT(cpu_info_primary, CPU_INFO_SIZEOF)
 
-#define        GET_CPUINFO             lda v0, cpu_info_primary
-
 #define        GET_CURLWP              lda v0, cpu_info_primary        ;       \
                                ldq v0, CPU_INFO_CURLWP(v0)
 



Home | Main Index | Thread Index | Old Index