mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Added PKEVENT to init_waitqueue_head.
svn path=/trunk/; revision=15445
This commit is contained in:
parent
d88e7782d0
commit
6120955e45
1 changed files with 2 additions and 1 deletions
|
@ -16,6 +16,7 @@
|
|||
#include "hcd.h" /* for usbcore internals */
|
||||
|
||||
// ReactOS specific: No WAITQUEUEs here
|
||||
#undef wake_up
|
||||
#define wake_up(a) do {} while(0)
|
||||
|
||||
struct usb_api_data {
|
||||
|
@ -39,7 +40,7 @@ static int usb_start_wait_urb(struct urb *urb, int timeout, int* actual_length)
|
|||
struct usb_api_data awd;
|
||||
int status;
|
||||
|
||||
init_waitqueue_head(&awd.wqh);
|
||||
init_waitqueue_head((PKEVENT)&awd.wqh);
|
||||
awd.done = 0;
|
||||
|
||||
set_current_state(TASK_UNINTERRUPTIBLE);
|
||||
|
|
Loading…
Reference in a new issue