diff options
Diffstat (limited to 'fs/pstore/ram.c')
-rw-r--r-- | fs/pstore/ram.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/pstore/ram.c b/fs/pstore/ram.c index 44a549beeafa..257dec9c9345 100644 --- a/fs/pstore/ram.c +++ b/fs/pstore/ram.c @@ -444,6 +444,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; |