diff options
author | 2010-05-17 10:00:20 +0200 | |
---|---|---|
committer | 2010-05-17 10:00:17 +0200 | |
commit | 57b28f66316d287b9dbf7b28358ca90257230769 (patch) | |
tree | 9486fff9e7c746721dbcbbbeb34ddd1307460e89 /arch/s390/hypfs/hypfs.h | |
parent | [S390] qdio: remove API wrappers (diff) | |
download | linux-57b28f66316d287b9dbf7b28358ca90257230769.tar.gz linux-57b28f66316d287b9dbf7b28358ca90257230769.tar.bz2 linux-57b28f66316d287b9dbf7b28358ca90257230769.zip |
[S390] s390_hypfs: Add new attributes
In order to access the data of the hypfs diagnose calls from user
space also in binary form, this patch adds two new attributes in
debugfs:
* z/VM: s390_hypfs/d2fc_bin
* LPAR: s390_hypfs/d204_bin
Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/hypfs/hypfs.h')
-rw-r--r-- | arch/s390/hypfs/hypfs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/s390/hypfs/hypfs.h b/arch/s390/hypfs/hypfs.h index aea572009d60..fa487d4cc08b 100644 --- a/arch/s390/hypfs/hypfs.h +++ b/arch/s390/hypfs/hypfs.h @@ -11,6 +11,7 @@ #include <linux/fs.h> #include <linux/types.h> +#include <linux/debugfs.h> #define REG_FILE_MODE 0440 #define UPDATE_FILE_MODE 0220 @@ -34,6 +35,9 @@ extern int hypfs_diag_create_files(struct super_block *sb, struct dentry *root); /* VM Hypervisor */ extern int hypfs_vm_init(void); +extern void hypfs_vm_exit(void); extern int hypfs_vm_create_files(struct super_block *sb, struct dentry *root); +/* Directory for debugfs files */ +extern struct dentry *hypfs_dbfs_dir; #endif /* _HYPFS_H_ */ |