diff options
author | 2006-05-28 23:08:07 +0000 | |
---|---|---|
committer | 2006-05-28 23:08:07 +0000 | |
commit | 1686fbff6cceacf85df29a13cae06488711bd3db (patch) | |
tree | 55520fd5ddce4a9bf593714ce1968b26d5eab657 | |
parent | Correct more bounds checks which can lead to crashes. (diff) | |
download | wireguard-openbsd-1686fbff6cceacf85df29a13cae06488711bd3db.tar.xz wireguard-openbsd-1686fbff6cceacf85df29a13cae06488711bd3db.zip |
minor nit, use CPU ID instead of FPU ID for BTLB parameters after passing
all kludges
-rw-r--r-- | sys/arch/hppa/hppa/machdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/hppa/machdep.c b/sys/arch/hppa/hppa/machdep.c index 24765cf996e..751e2919af3 100644 --- a/sys/arch/hppa/hppa/machdep.c +++ b/sys/arch/hppa/hppa/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.150 2006/04/15 15:35:20 martin Exp $ */ +/* $OpenBSD: machdep.c,v 1.151 2006/05/28 23:08:07 martin Exp $ */ /* * Copyright (c) 1999-2003 Michael Shalayeff @@ -495,7 +495,7 @@ cpuid() } /* BTLB params */ - if (cpu_type < HPPA_FPU_PCXU && + if (cpu_type < HPPA_CPU_PCXU && (error = pdc_call((iodcio_t)pdc, 0, PDC_BLOCK_TLB, PDC_BTLB_DEFAULT, &pdc_btlb)) < 0) { #ifdef DEBUG |