blob: 9cc0a82fe6e0b769cbbcd07c5347ec5d79cd06a2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
/*
* Copyright (c) 2014 Hauke Mehrtens <hauke@hauke-m.de>
*
* Backport functionality introduced in Linux 3.17.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#include <linux/wait.h>
#include <linux/sched.h>
#include <linux/export.h>
int bit_wait(void *word)
{
schedule();
return 0;
}
EXPORT_SYMBOL_GPL(bit_wait);
int bit_wait_io(void *word)
{
io_schedule();
return 0;
}
EXPORT_SYMBOL_GPL(bit_wait_io);
|