summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2014-12-08 13:04:42 -0500
committerBrian Behlendorf <[email protected]>2015-01-16 13:55:08 -0800
commite5b9b344c728bb0d9304f1a143db9255901dc5fe (patch)
tree9c8fb75b9cfc7a6cef72b2c6a7cc08ef11b9a589 /include/linux
parent6ecf6d7228fbb29cfe6a335f5afc20f75493a791 (diff)
Refactor existing code
This change introduces no functional changes to the memory management interfaces. It only restructures the existing codes by separating the kmem, vmem, and kmem cache implementations in the separate source and header files. Splitting this functionality in to separate files required the addition of spl_vmem_{init,fini}() and spl_kmem_cache_{initi,fini}() functions. Additionally, several minor changes to the #include's were required to accommodate the removal of extraneous header from kmem.h. But again, while large this patch introduces no functional changes. Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/proc_compat.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/proc_compat.h b/include/linux/proc_compat.h
index 5bbe85081..2c57f39d2 100644
--- a/include/linux/proc_compat.h
+++ b/include/linux/proc_compat.h
@@ -22,8 +22,8 @@
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
\*****************************************************************************/
-#ifndef _SPL_PROC_H
-#define _SPL_PROC_H
+#ifndef _SPL_PROC_COMPAT_H
+#define _SPL_PROC_COMPAT_H
#include <linux/proc_fs.h>
@@ -32,4 +32,4 @@ extern struct proc_dir_entry *proc_spl_kstat;
int spl_proc_init(void);
void spl_proc_fini(void);
-#endif /* SPL_PROC_H */
+#endif /* SPL_PROC_COMPAT_H */