diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2019-09-02 02:35:09 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2019-09-02 02:35:09 +0000 |
commit | 1c01d3151a0d2df8d291a7c5d935d33d35e330d7 (patch) | |
tree | e09392a797367ef9c0b07ed1bb48f18526f6ce49 /sys/arch | |
parent | 165f78ebc214ebd3c427a9839b75d8ae13af045f (diff) |
in non-MP, cpu_number() the #define should be 0UL; ok visa
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/mips64/include/cpu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mips64/include/cpu.h b/sys/arch/mips64/include/cpu.h index 06c539d3f93..40e1f59a39f 100644 --- a/sys/arch/mips64/include/cpu.h +++ b/sys/arch/mips64/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.127 2019/05/05 13:28:14 visa Exp $ */ +/* $OpenBSD: cpu.h,v 1.128 2019/09/02 02:35:08 deraadt Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -267,7 +267,7 @@ void smp_rendezvous_cpus(unsigned long, void (*)(void *), void *arg); #define MAXCPUS 1 #define curcpu() (&cpu_info_primary) #define CPU_IS_PRIMARY(ci) 1 -#define cpu_number() 0 +#define cpu_number() 0UL #define cpu_unidle(ci) #define get_cpu_info(i) (&cpu_info_primary) #endif |