summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnton Vorontsov <anton.vorontsov@linaro.org>2012-05-26 06:07:51 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-13 16:52:40 -0700
commitfce397930475f7efc712a1345dc0dad269a10544 (patch)
tree6e997211442c8c5ba3a34bb1fdc06bc06ba095f5 /include
parent25b63da64708212985c06c7f8b089d356efdd9cf (diff)
downloadlinux-3.10-fce397930475f7efc712a1345dc0dad269a10544.tar.gz
linux-3.10-fce397930475f7efc712a1345dc0dad269a10544.tar.bz2
linux-3.10-fce397930475f7efc712a1345dc0dad269a10544.zip
pstore/ram_core: Factor persistent_ram_zap() out of post_init()
A handy function that we will use outside of ram_core soon. But so far just factor it out and start using it in post_init(). Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org> Acked-by: Kees Cook <keescook@chromium.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/pstore_ram.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pstore_ram.h b/include/linux/pstore_ram.h
index 4491e8ff36e..3b823d49a85 100644
--- a/include/linux/pstore_ram.h
+++ b/include/linux/pstore_ram.h
@@ -69,6 +69,7 @@ struct persistent_ram_zone * __init persistent_ram_new(phys_addr_t start,
size_t size,
bool ecc);
void persistent_ram_free(struct persistent_ram_zone *prz);
+void persistent_ram_zap(struct persistent_ram_zone *prz);
struct persistent_ram_zone *persistent_ram_init_ringbuffer(struct device *dev,
bool ecc);