cio.h (10ce3cc919f50c2043b41ca968b43c26a3672600) | cio.h (188561a462d3b82451d6ba09e2e32c9ba2c9938c) |
---|---|
1#ifndef S390_CIO_H 2#define S390_CIO_H 3 4#include <linux/mutex.h> 5#include <linux/device.h> 6#include <linux/mod_devicetable.h> 7#include <asm/chpid.h> 8#include <asm/cio.h> --- 119 unchanged lines hidden (view full) --- 128/* Use with care. */ 129#ifdef CONFIG_CCW_CONSOLE 130extern struct subchannel *cio_probe_console(void); 131extern void cio_release_console(void); 132extern int cio_is_console(struct subchannel_id); 133extern struct subchannel *cio_get_console_subchannel(void); 134extern spinlock_t * cio_get_console_lock(void); 135extern void *cio_get_console_priv(void); | 1#ifndef S390_CIO_H 2#define S390_CIO_H 3 4#include <linux/mutex.h> 5#include <linux/device.h> 6#include <linux/mod_devicetable.h> 7#include <asm/chpid.h> 8#include <asm/cio.h> --- 119 unchanged lines hidden (view full) --- 128/* Use with care. */ 129#ifdef CONFIG_CCW_CONSOLE 130extern struct subchannel *cio_probe_console(void); 131extern void cio_release_console(void); 132extern int cio_is_console(struct subchannel_id); 133extern struct subchannel *cio_get_console_subchannel(void); 134extern spinlock_t * cio_get_console_lock(void); 135extern void *cio_get_console_priv(void); |
136extern void cio_tsch(struct subchannel *sch); |
|
136#else 137#define cio_is_console(schid) 0 138#define cio_get_console_subchannel() NULL 139#define cio_get_console_lock() NULL 140#define cio_get_console_priv() NULL 141#endif 142 143#endif | 137#else 138#define cio_is_console(schid) 0 139#define cio_get_console_subchannel() NULL 140#define cio_get_console_lock() NULL 141#define cio_get_console_priv() NULL 142#endif 143 144#endif |