diff options
| author | Namhyung Kim <[email protected]> | 2016-07-28 00:08:26 +0900 |
|---|---|---|
| committer | Kees Cook <[email protected]> | 2016-09-08 15:01:09 -0700 |
| commit | 79d955af711a6e20207783590a2cfddbd649568b (patch) | |
| tree | fa5c5b48bc906472a5049437337372f0164b080d /include/linux | |
| parent | c950fd6f201aea649932898206a850f0a7f25603 (diff) | |
pstore/ram: Set pstore flags dynamically
The ramoops can be configured to enable each pstore type by setting
their size. In that case, it'd be better not to register disabled types
in the first place.
Cc: Anton Vorontsov <[email protected]>
Cc: Colin Cross <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Tony Luck <[email protected]>
Signed-off-by: Namhyung Kim <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/pstore.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/pstore.h b/include/linux/pstore.h index f5806b2a6f7a..50d475228d97 100644 --- a/include/linux/pstore.h +++ b/include/linux/pstore.h @@ -80,8 +80,6 @@ struct pstore_info { #define PSTORE_FLAGS_FTRACE (1 << 2) #define PSTORE_FLAGS_PMSG (1 << 3) -#define PSTORE_FLAGS_ALL ((1 << 4) - 1) - extern int pstore_register(struct pstore_info *); extern void pstore_unregister(struct pstore_info *); extern bool pstore_cannot_block_path(enum kmsg_dump_reason reason); |