summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/hppa/hppa/machdep.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/arch/hppa/hppa/machdep.c b/sys/arch/hppa/hppa/machdep.c
index ed4dfb10540..f12c1ea8f76 100644
--- a/sys/arch/hppa/hppa/machdep.c
+++ b/sys/arch/hppa/hppa/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.65 2002/03/25 20:46:49 deraadt Exp $ */
+/* $OpenBSD: machdep.c,v 1.66 2002/03/26 05:24:02 mickey Exp $ */
/*
* Copyright (c) 1999-2002 Michael Shalayeff
@@ -419,10 +419,13 @@ hppa_init(start)
for (p = cpu_types;
p->arch && p->features != cpu_features; p++);
- if (!p->arch)
+ if (!p->arch) {
printf("WARNING: UNKNOWN CPU TYPE; GOOD LUCK (%x)\n",
cpu_features);
- else {
+ p = cpu_types;
+ }
+
+ {
/*
* Ptrs to various tlb handlers, to be filled
* based on cpu features.