hotplug/ibmphp: remove long_delay
Subsystems (2)
Sorry, I forgot the dependencies...
Applys-to: 2.6.7
Depends-on: Patches replacing long_delay() with msleep() in ibmphp_hpc.c and ibmphp_core.c.
Description: Remove long_delay().
drivers/pci/hotplug/ibmphp.h +0 -6
@@ -759,11 +759,5 @@ extern int ibmphp_configure_card (structextern int ibmphp_unconfigure_card (struct slot **,int );extern struct hotplug_slot_ops ibmphp_hotplug_slot_ops; -static inline void long_delay (int delay) -{ -set_current_state (TASK_INTERRUPTIBLE ); -schedule_timeout (delay); -} -#endif //__IBMPHP_H
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors
Greg KH
Applied[Kernel-janitors] Re: [PATCH] hotplug/ibmphp_hpc: replace
Quoted 6 lines · Nishanth Aravamudan
I would appreciate any comments from the janitors list. This is one (of many) cases where I made a decision about replacing
set_current_state(TASK_INTERRUPTIBLE);schedule_timeout(some_time);
Quoted 7 lines
with
msleep(jiffies_to_msecs(some_time));
msleep()is not exactly the same as the previous code, but I only did this replacement where I thought long delays were *desired*. If this is not the case here, then just disregard this patch.
Applied, thanks.
greg k-h
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors
Greg KH
Applied[Kernel-janitors] Re: [PATCH] hotplug/ibmphp_core: replace
In reply to Nishanth AravamudanQuoted 6 lines · Nishanth Aravamudan
I would appreciate any comments from the janitors list. This is one (of many) cases where I made a decision about replacing
set_current_state(TASK_INTERRUPTIBLE);schedule_timeout(some_time);
Quoted 7 lines
with
msleep(jiffies_to_msecs(some_time));
msleep()is not exactly the same as the previous code, but I only did this replacement where I thought long delays were *desired*. If this is not the case here, then just disregard this patch.
Applied, thanks.
greg k-h
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors
Greg KH
AppliedQuoted 9 lines · Nishanth Aravamudan
I would appreciate any comments from the janitors list.
Applys-to: 2.6.7
Description: Remove unused function
long_delay().Signed-off-by Nishanth Aravamudan <[email protected]>
Applied, thanks.
greg k-h
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors