diff options
author | Brian Behlendorf <[email protected]> | 2014-12-08 13:04:42 -0500 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2015-01-16 13:55:08 -0800 |
commit | e5b9b344c728bb0d9304f1a143db9255901dc5fe (patch) | |
tree | 9c8fb75b9cfc7a6cef72b2c6a7cc08ef11b9a589 /module/spl/spl-kstat.c | |
parent | 6ecf6d7228fbb29cfe6a335f5afc20f75493a791 (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 'module/spl/spl-kstat.c')
-rw-r--r-- | module/spl/spl-kstat.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/module/spl/spl-kstat.c b/module/spl/spl-kstat.c index cb27ed3d3..e8917a3ea 100644 --- a/module/spl/spl-kstat.c +++ b/module/spl/spl-kstat.c @@ -26,6 +26,7 @@ #include <linux/seq_file.h> #include <sys/kstat.h> +#include <sys/vmem.h> #ifndef HAVE_PDE_DATA #define PDE_DATA(x) (PDE(x)->data) |