From da6fcd553b825e80ad19c0bacde0ca2b574a2e64 Mon Sep 17 00:00:00 2001 From: thorpej Date: Tue, 28 Mar 2006 17:25:11 +0000 Subject: [PATCH] Add a comment indicating that the cpuid (derived from the autoconfiguration unit number of the CPU) should be cached in the cpu_info. --- sys/arch/vax/include/cpu.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/arch/vax/include/cpu.h b/sys/arch/vax/include/cpu.h index 8c7d85e3ae96..5be071d69e7b 100644 --- a/sys/arch/vax/include/cpu.h +++ b/sys/arch/vax/include/cpu.h @@ -1,4 +1,4 @@ -/* $NetBSD: cpu.h,v 1.72 2005/12/11 12:19:34 christos Exp $ */ +/* $NetBSD: cpu.h,v 1.73 2006/03/28 17:25:11 thorpej Exp $ */ /* * Copyright (c) 1994 Ludd, University of Lule}, Sweden @@ -163,6 +163,7 @@ struct cpu_mp_softc { }; #endif /* defined(MULTIPROCESSOR) */ + /* XXX need to cache this in cpu_info */ #define ci_cpuid ci_dev->dv_unit #define curcpu() ((struct cpu_info *)mfpr(PR_SSP)) #define curlwp (curcpu()->ci_curlwp)