summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorMandar padmawar <mpadmawar@nvidia.com>2014-05-29 23:28:18 -0700
committerMandar padmawar <mpadmawar@nvidia.com>2014-05-29 23:28:18 -0700
commitabf9c41277d27ad35cb2dc036dd9c427e8d316e7 (patch)
tree7a7502259b67a5ef54a168099165ffa19159aa22 /fs
parenta39d4a70d52df4a9d4a74c818880b73d684db8c7 (diff)
parent75c1032e7b6215de41e451a01033a342372105d4 (diff)
Merge commit 'refs/changes/16/411516/5' of ssh://git-master:12001/linux-3.10 into promotion_build
Diffstat (limited to 'fs')
-rw-r--r--fs/pstore/ram.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/pstore/ram.c b/fs/pstore/ram.c
index 2a2b21224bc4..7fd001ccdef4 100644
--- a/fs/pstore/ram.c
+++ b/fs/pstore/ram.c
@@ -380,6 +380,12 @@ static int ramoops_init_prz(struct device *dev, struct ramoops_context *cxt,
return 0;
}
+void notrace ramoops_console_write_buf(const char *buf, size_t size)
+{
+ struct ramoops_context *cxt = &oops_cxt;
+ persistent_ram_write(cxt->cprz, buf, size);
+}
+
static int ramoops_probe(struct platform_device *pdev)
{
struct device *dev = &pdev->dev;