OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-s390x/] [ioctl32.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
/*
2
 * include/asm-s390/ioctl32.h
3
 * include/asm-s390x/ioctl32.h
4
 *
5
 *         Copyright (C) 2003 IBM Corporation
6
 *         Author: Arnd Bergmann <arndb@de.ibm.com>
7
 */
8
#ifndef ASM_IOCTL32_H
9
#define ASM_IOCTL32_H
10
 
11
extern int sys_ioctl(unsigned int, unsigned int, unsigned long, struct file*);
12
typedef int (*ioctl_trans_handler_t)(unsigned int, unsigned int, unsigned long, struct file *);
13
 
14
#ifdef CONFIG_S390_SUPPORT
15
 
16
extern int
17
register_ioctl32_conversion(unsigned int cmd, ioctl_trans_handler_t handler);
18
 
19
extern void
20
unregister_ioctl32_conversion(unsigned int cmd);
21
 
22
#else
23
 
24
static inline int
25
register_ioctl32_conversion(unsigned int cmd, ioctl_trans_handler_t handler)
26
{
27
        return 0;
28
}
29
 
30
static inline void
31
unregister_ioctl32_conversion(unsigned int cmd)
32
{
33
}
34
 
35
#endif /* CONFIG_S390_SUPPORT */
36
#endif /* ASM_IOCTL32_H */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.