Files
odroid-linux/include/linux/ramoops.h
T
Sergiu IordacheandLinus Torvalds 3e5c4fadb9 ramoops: make record_size a module parameter
The size of the dump is currently set using the RECORD_SIZE macro which
is set to a page size.  This patch makes the record size a module
parameter and allows it to be set through platform data as well to allow
larger dumps if needed.

Signed-off-by: Sergiu Iordache <[email protected]>
Acked-by: Marco Stornelli <[email protected]>
Cc: "Ahmed S. Darwish" <[email protected]>
Cc: Artem Bityutskiy <[email protected]>
Cc: Kyungmin Park <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2011-07-26 16:49:46 -07:00

18 lines
310 B
C

#ifndef __RAMOOPS_H
#define __RAMOOPS_H
/*
* Ramoops platform data
* @mem_size memory size for ramoops
* @mem_address physical memory address to contain ramoops
*/
struct ramoops_platform_data {
unsigned long mem_size;
unsigned long mem_address;
unsigned long record_size;
int dump_oops;
};
#endif