diff options
author | Amit Pundir <amit.pundir@linaro.org> | 2016-07-31 17:07:46 +0530 |
---|---|---|
committer | Dmitry Shmidt <dimitrysh@google.com> | 2016-08-01 11:17:00 -0700 |
commit | 818aa36ea868ba8f2985f9ca0906fd9cba3e437d (patch) | |
tree | ab8081f7ef8104d4a6e0bffb6f7a1a8f6cf80bf3 /kernel/panic.c | |
parent | 1b06e2539281187910eb971202c7b2786fab5b57 (diff) |
Revert "panic: Add board ID to panic output"
This reverts commit 4e09c510185cb4db2277ce81cce81b7aa06bea45.
I checked for the usage of this debug helper in AOSP common kernels as
well as vendor kernels (e.g exynos, msm, mediatek, omap, tegra, x86,
x86_64) hosted at https://android.googlesource.com/kernel/ and I found
out that other than few fairly obsolete Omap trees (for tuna & Glass)
and Exynos tree (for Manta), there is no active user of this debug
helper. So we can safely remove this helper code.
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Diffstat (limited to 'kernel/panic.c')
-rw-r--r-- | kernel/panic.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/kernel/panic.c b/kernel/panic.c index f07bfc9fe613..4b150bc0c6c1 100644 --- a/kernel/panic.c +++ b/kernel/panic.c @@ -28,9 +28,6 @@ #define PANIC_TIMER_STEP 100 #define PANIC_BLINK_SPD 18 -/* Machine specific panic information string */ -char *mach_panic_string; - int panic_on_oops = CONFIG_PANIC_ON_OOPS_VALUE; static unsigned long tainted_mask; static int pause_on_oops; @@ -416,11 +413,6 @@ late_initcall(init_oops_id); void print_oops_end_marker(void) { init_oops_id(); - - if (mach_panic_string) - printk(KERN_WARNING "Board Information: %s\n", - mach_panic_string); - pr_warn("---[ end trace %016llx ]---\n", (unsigned long long)oops_id); } |