diff options
| author | Toomas Soome <tsoome@me.com> | 2018-10-18 13:21:36 +0300 |
|---|---|---|
| committer | Hans Rosenfeld <hans.rosenfeld@joyent.com> | 2019-01-31 23:04:30 +0100 |
| commit | 3ebafc60580cf8a412e554e4babd8c3a0d3e98ea (patch) | |
| tree | e8be53168a8899fa79722f8b7170bea470829f4b /usr/src | |
| parent | 1fb83a8f4f86641886ceec86db9bd430ef9b046b (diff) | |
| download | illumos-joyent-3ebafc60580cf8a412e554e4babd8c3a0d3e98ea.tar.gz | |
10297 cyclic_mp_init: cast between incompatible function types
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: C Fraire <cfraire@me.com>
Approved by: Hans Rosenfeld <hans.rosenfeld@joyent.com>
Diffstat (limited to 'usr/src')
| -rw-r--r-- | usr/src/uts/common/os/cyclic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/uts/common/os/cyclic.c b/usr/src/uts/common/os/cyclic.c index 21907b4957..0aa54eeaee 100644 --- a/usr/src/uts/common/os/cyclic.c +++ b/usr/src/uts/common/os/cyclic.c @@ -2384,7 +2384,7 @@ cyclic_unconfigure(cpu_t *c) } static int -cyclic_cpu_setup(cpu_setup_t what, int id) +cyclic_cpu_setup(cpu_setup_t what, int id, void *arg __unused) { /* * We are guaranteed that there is still/already an entry in the @@ -3161,7 +3161,7 @@ cyclic_mp_init() } } while ((c = c->cpu_next) != cpu_list); - register_cpu_setup_func((cpu_setup_func_t *)cyclic_cpu_setup, NULL); + register_cpu_setup_func(cyclic_cpu_setup, NULL); mutex_exit(&cpu_lock); } |
