x86: introduce native_set_pte_atomic() on 64-bit too
[wrt350n-kernel.git] / include / asm-s390 / diag.h
blob72b2e2f2d32d823d36f4135702d67bde05a05d30
1 /*
2 * s390 diagnose functions
4 * Copyright IBM Corp. 2007
5 * Author(s): Michael Holzheu <holzheu@de.ibm.com>
6 */
8 #ifndef _ASM_S390_DIAG_H
9 #define _ASM_S390_DIAG_H
12 * Diagnose 10: Release pages
14 extern void diag10(unsigned long addr);
17 * Diagnose 14: Input spool file manipulation
19 extern int diag14(unsigned long rx, unsigned long ry1, unsigned long subcode);
22 * Diagnose 210: Get information about a virtual device
24 struct diag210 {
25 u16 vrdcdvno; /* device number (input) */
26 u16 vrdclen; /* data block length (input) */
27 u8 vrdcvcla; /* virtual device class (output) */
28 u8 vrdcvtyp; /* virtual device type (output) */
29 u8 vrdcvsta; /* virtual device status (output) */
30 u8 vrdcvfla; /* virtual device flags (output) */
31 u8 vrdcrccl; /* real device class (output) */
32 u8 vrdccrty; /* real device type (output) */
33 u8 vrdccrmd; /* real device model (output) */
34 u8 vrdccrft; /* real device feature (output) */
35 } __attribute__((packed, aligned(4)));
37 extern int diag210(struct diag210 *addr);
39 #endif /* _ASM_S390_DIAG_H */