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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-s390x/] [ioctl32.h] - Rev 1774

Go to most recent revision | Compare with Previous | Blame | View Log

/*
 * include/asm-s390/ioctl32.h
 * include/asm-s390x/ioctl32.h
 *
 *         Copyright (C) 2003 IBM Corporation
 *         Author: Arnd Bergmann <arndb@de.ibm.com>
 */
#ifndef ASM_IOCTL32_H
#define ASM_IOCTL32_H
 
extern int sys_ioctl(unsigned int, unsigned int, unsigned long, struct file*);
typedef int (*ioctl_trans_handler_t)(unsigned int, unsigned int, unsigned long, struct file *);
 
#ifdef CONFIG_S390_SUPPORT
 
extern int
register_ioctl32_conversion(unsigned int cmd, ioctl_trans_handler_t handler);
 
extern void
unregister_ioctl32_conversion(unsigned int cmd);
 
#else
 
static inline int
register_ioctl32_conversion(unsigned int cmd, ioctl_trans_handler_t handler)
{
	return 0;
}
 
static inline void 
unregister_ioctl32_conversion(unsigned int cmd)
{
}
 
#endif /* CONFIG_S390_SUPPORT */
#endif /* ASM_IOCTL32_H */
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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