--- zzzz-none-000/linux-4.4.271/init/version.c 2021-06-03 06:22:09.000000000 +0000 +++ dakota-7530ac-750/linux-4.4.271/init/version.c 2023-01-11 09:25:44.000000000 +0000 @@ -51,3 +51,16 @@ "%s version %s" " (" LINUX_COMPILE_BY "@" LINUX_COMPILE_HOST ")" " (" LINUX_COMPILER ") %s\n"; + +#ifdef CONFIG_QCA_MINIDUMP + +const char *linux_banner_ptr = linux_banner; +uint64_t linux_banner_size = sizeof(linux_banner); + +void minidump_get_linux_buf_info(uint64_t *plinux_buf, uint64_t *plinux_buf_len) +{ + *plinux_buf = (uint64_t)((uintptr_t)linux_banner_ptr); + *plinux_buf_len = linux_banner_size; +} +EXPORT_SYMBOL(minidump_get_linux_buf_info); +#endif