[PATCH] WorkStruct: Fix up some PA-RISC work items
Fix up some PA-RISC work items broken by the workstruct reduction. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
This commit is contained in:
committed by
Kyle McMartin
parent
8535e9dfd3
commit
6858f3bf6e
@@ -82,7 +82,7 @@
|
||||
} )
|
||||
|
||||
|
||||
static void deferred_poweroff(void *dummy)
|
||||
static void deferred_poweroff(struct work_struct *unused)
|
||||
{
|
||||
if (kill_cad_pid(SIGINT, 1)) {
|
||||
/* just in case killing init process failed */
|
||||
@@ -96,7 +96,7 @@ static void deferred_poweroff(void *dummy)
|
||||
* use schedule_work().
|
||||
*/
|
||||
|
||||
static DECLARE_WORK(poweroff_work, deferred_poweroff, NULL);
|
||||
static DECLARE_WORK(poweroff_work, deferred_poweroff);
|
||||
|
||||
static void poweroff(void)
|
||||
{
|
||||
|
Reference in New Issue
Block a user