diff options
| author | 2010-01-24 10:31:34 -0800 | |
|---|---|---|
| committer | 2010-01-24 10:31:34 -0800 | |
| commit | b8be634e01b400fa2528848ad0cd6a5580a15bc4 (patch) | |
| tree | f36da264249540727a60e13a54d1d44c8821b48d /kernel/panic.c | |
| parent | Merge branch 'for-linus/samsung' of git://git.fluff.org/bjdooks/linux (diff) | |
| parent | mtd: tests: fix read, speed and stress tests on NOR flash (diff) | |
| download | linux-dev-b8be634e01b400fa2528848ad0cd6a5580a15bc4.tar.xz linux-dev-b8be634e01b400fa2528848ad0cd6a5580a15bc4.zip | |
Merge git://git.infradead.org/~dwmw2/mtd-2.6.33
* git://git.infradead.org/~dwmw2/mtd-2.6.33:
mtd: tests: fix read, speed and stress tests on NOR flash
mtd: Really add ARM pismo support
kmsg_dump: Dump on crash_kexec as well
Diffstat (limited to 'kernel/panic.c')
| -rw-r--r-- | kernel/panic.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/panic.c b/kernel/panic.c index 5827f7b97254..c787333282b8 100644 --- a/kernel/panic.c +++ b/kernel/panic.c @@ -75,7 +75,6 @@ NORET_TYPE void panic(const char * fmt, ...) dump_stack(); #endif - kmsg_dump(KMSG_DUMP_PANIC); /* * If we have crashed and we have a crash kernel loaded let it handle * everything else. @@ -83,6 +82,8 @@ NORET_TYPE void panic(const char * fmt, ...) */ crash_kexec(NULL); + kmsg_dump(KMSG_DUMP_PANIC); + /* * Note smp_send_stop is the usual smp shutdown function, which * unfortunately means it may not be hardened to work in a panic |
