diff options
author | Visa Hankala <visa@cvs.openbsd.org> | 2016-12-11 07:57:15 +0000 |
---|---|---|
committer | Visa Hankala <visa@cvs.openbsd.org> | 2016-12-11 07:57:15 +0000 |
commit | 61a7b80cca47d3f3cad9c9f9a10ab87d2ff82faa (patch) | |
tree | 0dc95d9616a9feb0e841c7e3d6d4228e891fab9f /sys/arch/loongson/include | |
parent | 382864479d7ad0a50acdb65074e5014e9878ab1e (diff) |
Determine the available CPUs.
Diffstat (limited to 'sys/arch/loongson/include')
-rw-r--r-- | sys/arch/loongson/include/autoconf.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/loongson/include/autoconf.h b/sys/arch/loongson/include/autoconf.h index 964d6c762de..c7d20447921 100644 --- a/sys/arch/loongson/include/autoconf.h +++ b/sys/arch/loongson/include/autoconf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.h,v 1.12 2016/11/05 05:28:39 visa Exp $ */ +/* $OpenBSD: autoconf.h,v 1.13 2016/12/11 07:57:14 visa Exp $ */ /* * Copyright (c) 2001-2003 Opsycon AB (www.opsycon.se / www.opsycon.com) @@ -76,8 +76,12 @@ struct platform { int (*resume)(void); }; +#define LOONGSON_MAXCPUS 16 + extern const struct platform *sys_platform; +extern uint loongson_cpumask; extern uint loongson_ver; +extern int nnodes; struct mainbus_attach_args { const char *maa_name; |