diff options
| author | Arve Hjønnevåg <arve@android.com> | 2014-05-02 20:23:21 -0700 |
|---|---|---|
| committer | John Stultz <john.stultz@linaro.org> | 2016-02-16 13:54:11 -0800 |
| commit | 75923a6f83dca0a2af7dad0c91fe45f0961d9406 (patch) | |
| tree | bf04e7197b6b1c4400fe27b03fe3303767c0a00e /include/linux | |
| parent | 57295ca64312242213a2adef0848b7f0c17deb29 (diff) | |
pstore/ram: Add ramoops_console_write_buf api
Allow writing into the ramoops console buffer.
Change-Id: Iff0d69b562e4dae33ea7f8d19412227bebb17e47
Signed-off-by: Arve Hjønnevåg <arve@android.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/pstore_ram.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/pstore_ram.h b/include/linux/pstore_ram.h index 9c9d6c154c8e..712757f320a4 100644 --- a/include/linux/pstore_ram.h +++ b/include/linux/pstore_ram.h @@ -68,6 +68,8 @@ void persistent_ram_free_old(struct persistent_ram_zone *prz); ssize_t persistent_ram_ecc_string(struct persistent_ram_zone *prz, char *str, size_t len); +void ramoops_console_write_buf(const char *buf, size_t size); + /* * Ramoops platform data * @mem_size memory size for ramoops |
