unify {de,}mangle_poll(), get rid of kernel-side POLL...
[cris-mirror.git] / include / linux / fd.h
blobece5ea53205b55cb870c6055a4cd961e28a34435
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _LINUX_FD_H
3 #define _LINUX_FD_H
5 #include <uapi/linux/fd.h>
7 #ifdef CONFIG_COMPAT
8 #include <linux/compat.h>
10 struct compat_floppy_struct {
11 compat_uint_t size;
12 compat_uint_t sect;
13 compat_uint_t head;
14 compat_uint_t track;
15 compat_uint_t stretch;
16 unsigned char gap;
17 unsigned char rate;
18 unsigned char spec1;
19 unsigned char fmt_gap;
20 const compat_caddr_t name;
23 #define FDGETPRM32 _IOR(2, 0x04, struct compat_floppy_struct)
24 #endif
25 #endif