diff options
Diffstat (limited to 'drivers/edac/edac_mc.c')
-rw-r--r-- | drivers/edac/edac_mc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/edac/edac_mc.c b/drivers/edac/edac_mc.c index e8c9ef03495b..aef5ec24908e 100644 --- a/drivers/edac/edac_mc.c +++ b/drivers/edac/edac_mc.c | |||
@@ -601,7 +601,7 @@ static void edac_mc_workq_teardown(struct mem_ctl_info *mci) | |||
601 | * user space has updated our poll period value, need to | 601 | * user space has updated our poll period value, need to |
602 | * reset our workq delays | 602 | * reset our workq delays |
603 | */ | 603 | */ |
604 | void edac_mc_reset_delay_period(int value) | 604 | void edac_mc_reset_delay_period(unsigned long value) |
605 | { | 605 | { |
606 | struct mem_ctl_info *mci; | 606 | struct mem_ctl_info *mci; |
607 | struct list_head *item; | 607 | struct list_head *item; |
@@ -611,7 +611,7 @@ void edac_mc_reset_delay_period(int value) | |||
611 | list_for_each(item, &mc_devices) { | 611 | list_for_each(item, &mc_devices) { |
612 | mci = list_entry(item, struct mem_ctl_info, link); | 612 | mci = list_entry(item, struct mem_ctl_info, link); |
613 | 613 | ||
614 | edac_mc_workq_setup(mci, (unsigned long) value); | 614 | edac_mc_workq_setup(mci, value); |
615 | } | 615 | } |
616 | 616 | ||
617 | mutex_unlock(&mem_ctls_mutex); | 617 | mutex_unlock(&mem_ctls_mutex); |