On Wed, 2015-08-12 at 11:45 +0800, [email protected] wrote:
> From: yangdongdong <[email protected]>
>
> If system restart after panic, this patch also enables
> panic and oops messages which in suspend context to be
> logged into ramoops console buffer where it can be read
> back at some later point.
trivia:
> diff --git a/include/linux/pstore_ram.h b/include/linux/pstore_ram.h
[]
> @@ -52,6 +52,7 @@ struct persistent_ram_zone {
> size_t old_log_size;
> };
>
> +extern void emergency_unlock_console(void);
None of the other function prototypes in this file use extern.
This one shouldn't either.
> struct persistent_ram_zone *persistent_ram_new(phys_addr_t start, size_t
> size,
> u32 sig, struct persistent_ram_ecc_info *ecc_info,
> unsigned int memtype);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/