summaryrefslogtreecommitdiffstats
path: root/cpukit/libdrvmgr
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libdrvmgr')
-rw-r--r--cpukit/libdrvmgr/drvmgr.h4
-rw-r--r--cpukit/libdrvmgr/drvmgr_drvinf.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/libdrvmgr/drvmgr.h b/cpukit/libdrvmgr/drvmgr.h
index a8e1c8c311..cb8f4a5f5a 100644
--- a/cpukit/libdrvmgr/drvmgr.h
+++ b/cpukit/libdrvmgr/drvmgr.h
@@ -140,7 +140,7 @@ struct drvmgr_bus_ops {
int (*int_unmask)(struct drvmgr_dev *, int index);
#ifdef RTEMS_SMP
int (*int_set_affinity)(struct drvmgr_dev *, int index,
- Processor_mask cpus);
+ const Processor_mask *cpus);
#endif
/* Get Parameters */
@@ -645,7 +645,7 @@ extern int drvmgr_interrupt_mask(
extern int drvmgr_interrupt_set_affinity(
struct drvmgr_dev *dev,
int index,
- Processor_mask cpus);
+ const Processor_mask *cpus);
#endif
/*! drvmgr_translate() translation options */
diff --git a/cpukit/libdrvmgr/drvmgr_drvinf.c b/cpukit/libdrvmgr/drvmgr_drvinf.c
index 5bb6e6edbf..346a66fef9 100644
--- a/cpukit/libdrvmgr/drvmgr_drvinf.c
+++ b/cpukit/libdrvmgr/drvmgr_drvinf.c
@@ -142,7 +142,7 @@ int drvmgr_interrupt_mask(
int drvmgr_interrupt_set_affinity(
struct drvmgr_dev *dev,
int index,
- Processor_mask cpus)
+ const Processor_mask *cpus)
{
if (!dev || !dev->parent || !dev->parent->ops->int_set_affinity)
return -1;