Revert "ANDROID: GKI: Make linux_banner a C pointer"

This reverts commit fdef3b7210. This
breaks ramdump parsing.

Bug: 154586724
Test: compile
Change-Id: Ia91f3e0d0a0cc67947081a73bdc61670f3a25185
Signed-off-by: Will McVicker <willmcvicker@google.com>
This commit is contained in:
Will McVicker 2020-04-22 10:58:07 -07:00
parent 5e68c49cb6
commit 48fb994c74
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@
#include <linux/linkage.h>
#include <linux/cache.h>
extern const char *linux_banner;
extern const char linux_banner[];
extern const char linux_proc_banner[];
#define PRINTK_MAX_SINGLE_HEADER_LEN 2

View file

@ -42,7 +42,7 @@ struct uts_namespace init_uts_ns = {
EXPORT_SYMBOL_GPL(init_uts_ns);
/* FIXED STRINGS! Don't touch! */
const char *linux_banner =
const char linux_banner[] =
"Linux version " UTS_RELEASE " (" LINUX_COMPILE_BY "@"
LINUX_COMPILE_HOST ") (" LINUX_COMPILER ") " UTS_VERSION "\n";
EXPORT_SYMBOL_GPL(linux_banner);