diff options
author | Kees Cook <keescook@chromium.org> | 2022-10-11 23:01:10 +0300 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2022-10-17 23:14:32 +0300 |
commit | 8bd4da0f0626ae9a82099d3d99cd6efd4355879b (patch) | |
tree | 9e5b5ea39adada94121afefbc763e1e47d4a0aee /fs/pstore/ram_core.c | |
parent | 6daf4e82bd54ef004ace4dd6deed60a32c282a95 (diff) | |
download | linux-8bd4da0f0626ae9a82099d3d99cd6efd4355879b.tar.xz |
pstore/ram: Move internal definitions out of kernel-wide include
Most of the details of the ram backend are entirely internal to the
backend itself. Leave only what is needed to instantiate a ram backend
in the kernel-wide header.
Cc: Anton Vorontsov <anton@enomsg.org>
Cc: Colin Cross <ccross@android.com>
Cc: Tony Luck <tony.luck@intel.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-and-tested-by: Guilherme G. Piccoli <gpiccoli@igalia.com>
Link: https://lore.kernel.org/r/20221011200112.731334-4-keescook@chromium.org
Diffstat (limited to 'fs/pstore/ram_core.c')
-rw-r--r-- | fs/pstore/ram_core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/pstore/ram_core.c b/fs/pstore/ram_core.c index a89e33719fcf..9e1047f4316d 100644 --- a/fs/pstore/ram_core.c +++ b/fs/pstore/ram_core.c @@ -13,13 +13,14 @@ #include <linux/kernel.h> #include <linux/list.h> #include <linux/memblock.h> -#include <linux/pstore_ram.h> #include <linux/rslib.h> #include <linux/slab.h> #include <linux/uaccess.h> #include <linux/vmalloc.h> #include <asm/page.h> +#include "ram_internal.h" + /** * struct persistent_ram_buffer - persistent circular RAM buffer * |