summaryrefslogtreecommitdiffstats
path: root/sys/mips/include/hwfunc.h
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2011-05-13 16:42:05 +0000
committerattilio <attilio@FreeBSD.org>2011-05-13 16:42:05 +0000
commitdcae8c96267648ce6ae3191f642d5ddd62d0b319 (patch)
treec08d4dee0bf7768439f6baa6b5051733407a8280 /sys/mips/include/hwfunc.h
parenta0db972f622c3a9dd2d45cdd27cc47dd31961dbb (diff)
downloadFreeBSD-src-dcae8c96267648ce6ae3191f642d5ddd62d0b319.zip
FreeBSD-src-dcae8c96267648ce6ae3191f642d5ddd62d0b319.tar.gz
Add the cpuset_t conversion for mips.
Diffstat (limited to 'sys/mips/include/hwfunc.h')
-rw-r--r--sys/mips/include/hwfunc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/mips/include/hwfunc.h b/sys/mips/include/hwfunc.h
index 683aedb..4e6ddf5 100644
--- a/sys/mips/include/hwfunc.h
+++ b/sys/mips/include/hwfunc.h
@@ -28,6 +28,8 @@
#ifndef _MACHINE_HWFUNC_H_
#define _MACHINE_HWFUNC_H_
+#include <sys/_cpuset.h>
+
struct trapframe;
struct timecounter;
/*
@@ -91,7 +93,7 @@ extern int platform_processor_id(void);
/*
* Return the cpumask of available processors.
*/
-extern cpumask_t platform_cpu_mask(void);
+extern cpuset_t platform_cpu_mask(void);
/*
* Return the topology of processors on this platform
OpenPOWER on IntegriCloud