import PULS_20160108
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / fs / pstore / ram.c
index 1376e5a8f0d6c6cfa430f87ed31d36cc9af5e007..058f17f0b466aaee343cc76adc654cdd15f8d6ec 100644 (file)
@@ -377,6 +377,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;