hc
2023-11-22 f743a7adbd6e230d66a6206fa115b59fec2d88eb
kernel/include/linux/pstore_ram.h
....@@ -76,8 +76,8 @@
7676 struct persistent_ram_zone *cprz; /* Console zone */
7777 struct persistent_ram_zone **fprzs; /* Ftrace zones */
7878 struct persistent_ram_zone *mprz; /* PMSG zone */
79
-#ifdef CONFIG_PSTORE_MCU_LOG
80
- struct persistent_ram_zone **mcu_przs; /* MCU log zones */
79
+#ifdef CONFIG_PSTORE_BOOT_LOG
80
+ struct persistent_ram_zone **boot_przs; /* BOOT log zones */
8181 #endif
8282 phys_addr_t phys_addr;
8383 unsigned long size;
....@@ -86,8 +86,8 @@
8686 size_t console_size;
8787 size_t ftrace_size;
8888 size_t pmsg_size;
89
-#ifdef CONFIG_PSTORE_MCU_LOG
90
- size_t mcu_log_size;
89
+#ifdef CONFIG_PSTORE_BOOT_LOG
90
+ size_t boot_log_size;
9191 #endif
9292 int dump_oops;
9393 u32 flags;
....@@ -100,9 +100,9 @@
100100 unsigned int max_ftrace_cnt;
101101 unsigned int ftrace_read_cnt;
102102 unsigned int pmsg_read_cnt;
103
-#ifdef CONFIG_PSTORE_MCU_LOG
104
- unsigned int mcu_log_read_cnt;
105
- unsigned int max_mcu_log_cnt;
103
+#ifdef CONFIG_PSTORE_BOOT_LOG
104
+ unsigned int boot_log_read_cnt;
105
+ unsigned int max_boot_log_cnt;
106106 #endif
107107 struct pstore_info pstore;
108108 };
....@@ -141,9 +141,9 @@
141141 unsigned long console_size;
142142 unsigned long ftrace_size;
143143 unsigned long pmsg_size;
144
-#ifdef CONFIG_PSTORE_MCU_LOG
145
- unsigned long mcu_log_size;
146
- unsigned long max_mcu_log_cnt;
144
+#ifdef CONFIG_PSTORE_BOOT_LOG
145
+ unsigned long boot_log_size;
146
+ unsigned long max_boot_log_cnt;
147147 #endif
148148 int dump_oops;
149149 u32 flags;