diff options
author | 2010-07-01 05:07:26 +0000 | |
---|---|---|
committer | 2010-07-01 05:07:26 +0000 | |
commit | 6a1011733675a52865d40a425cfe4fd312307435 (patch) | |
tree | 68d2201b3765ae4f2657f480189976e054b6a126 /sys | |
parent | Fix incorrect function prototype. (diff) | |
download | wireguard-openbsd-6a1011733675a52865d40a425cfe4fd312307435.tar.xz wireguard-openbsd-6a1011733675a52865d40a425cfe4fd312307435.zip |
Provide safepri.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/hppa64/hppa64/machdep.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/hppa64/hppa64/machdep.c b/sys/arch/hppa64/hppa64/machdep.c index 6a06021d5cf..0d5e3b17155 100644 --- a/sys/arch/hppa64/hppa64/machdep.c +++ b/sys/arch/hppa64/hppa64/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.23 2010/06/29 20:30:32 guenther Exp $ */ +/* $OpenBSD: machdep.c,v 1.24 2010/07/01 05:07:26 jsing Exp $ */ /* * Copyright (c) 2005 Michael Shalayeff @@ -142,6 +142,12 @@ void hpmc_dump(void); void cpuid(void); /* + * safepri is a safe priority for sleep to set for a spin-wait + * during autoconfiguration or after a panic. + */ +int safepri = 0; + +/* * wide used hardware params */ struct pdc_hwtlb pdc_hwtlb PDC_ALIGNMENT; |