.. | .. |
---|
23 | 23 | #include <linux/io.h> |
---|
24 | 24 | #include <linux/spinlock.h> |
---|
25 | 25 | #include <linux/vmalloc.h> |
---|
| 26 | +#include <linux/pgtable.h> |
---|
26 | 27 | #include <asm/cacheflush.h> |
---|
27 | | -#include <asm/sizes.h> |
---|
| 28 | +#include <linux/sizes.h> |
---|
28 | 29 | #include <linux/uaccess.h> |
---|
29 | | -#include <asm/pgtable.h> |
---|
30 | 30 | #include <asm/page.h> |
---|
31 | 31 | #include <asm/mmu.h> |
---|
32 | 32 | #include <asm/mmu_context.h> |
---|
.. | .. |
---|
861 | 861 | |
---|
862 | 862 | static int __init pmb_debugfs_init(void) |
---|
863 | 863 | { |
---|
864 | | - struct dentry *dentry; |
---|
865 | | - |
---|
866 | | - dentry = debugfs_create_file("pmb", S_IFREG | S_IRUGO, |
---|
867 | | - arch_debugfs_dir, NULL, &pmb_debugfs_fops); |
---|
868 | | - if (!dentry) |
---|
869 | | - return -ENOMEM; |
---|
870 | | - |
---|
| 864 | + debugfs_create_file("pmb", S_IFREG | S_IRUGO, arch_debugfs_dir, NULL, |
---|
| 865 | + &pmb_debugfs_fops); |
---|
871 | 866 | return 0; |
---|
872 | 867 | } |
---|
873 | 868 | subsys_initcall(pmb_debugfs_init); |
---|