diff options
author | Brian Atkinson <[email protected]> | 2020-06-10 18:54:11 -0600 |
---|---|---|
committer | GitHub <[email protected]> | 2020-06-10 17:54:11 -0700 |
commit | e08b993396692c227f576dd789280663103d3332 (patch) | |
tree | 30e6271424b22ad66eaa400ce16c0956416b30e9 /include/sys/abd_impl.h | |
parent | 059f7c20e3d410efb48aacce42abf47df316bee4 (diff) |
Removing ZERO_PAGE abd_alloc_zero_scatter
For MIPS architectures on Linux the ZERO_PAGE macro references
empty_zero_page, which is exported as a GPL symbol. The call to
ZERO_PAGE in abd_alloc_zero_scatter has been removed and a single
zero'd page is now allocated for each of the pages in abd_zero_scatter
in the kernel ABD code path.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Brian Atkinson <[email protected]>
Closes #10428
Diffstat (limited to 'include/sys/abd_impl.h')
-rw-r--r-- | include/sys/abd_impl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sys/abd_impl.h b/include/sys/abd_impl.h index 23eec9ad5..b1fa87b42 100644 --- a/include/sys/abd_impl.h +++ b/include/sys/abd_impl.h @@ -92,6 +92,8 @@ struct abd_iter { struct scatterlist *iter_sg; /* current sg */ }; +extern abd_t *abd_zero_scatter; + abd_t *abd_gang_get_offset(abd_t *, size_t *); /* |