Merge tag 'char-misc-5.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh...
[linux-2.6-block.git] / arch / um / drivers / ubd.h
CommitLineData
dbddf429 1/* SPDX-License-Identifier: GPL-2.0 */
1da177e4
LT
2/*
3 * Copyright (C) 2000 Jeff Dike (jdike@karaya.com)
4 * Copyright (C) 2001 RidgeRun, Inc (glonnon@ridgerun.com)
1da177e4
LT
5 */
6
7#ifndef __UM_UBD_USER_H
8#define __UM_UBD_USER_H
9
1da177e4
LT
10extern int start_io_thread(unsigned long sp, int *fds_out);
11extern int io_thread(void *arg);
12extern int kernel_fd;
13
f88f0bdf
AI
14extern int ubd_read_poll(int timeout);
15extern int ubd_write_poll(int timeout);
16
17#define UBD_REQ_BUFFER_SIZE 64
18
1da177e4
LT
19#endif
20