Blame view

arch/s390/kernel/kdebugfs.c 390 Bytes
b24413180   Greg Kroah-Hartman   License cleanup: ...
1
  // SPDX-License-Identifier: GPL-2.0
050f99b1b   Heiko Carstens   s390/debugfs: int...
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  #include <linux/debugfs.h>
  #include <linux/export.h>
  #include <linux/init.h>
  
  struct dentry *arch_debugfs_dir;
  EXPORT_SYMBOL(arch_debugfs_dir);
  
  static int __init arch_kdebugfs_init(void)
  {
  	arch_debugfs_dir = debugfs_create_dir("s390", NULL);
  	if (IS_ERR(arch_debugfs_dir))
  		arch_debugfs_dir = NULL;
  	return 0;
  }
  postcore_initcall(arch_kdebugfs_init);