fadump: Add PT_NOTE program header for vmcoreinfo
authorMahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Thu, 16 Feb 2012 01:14:53 +0000 (01:14 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 22 Feb 2012 23:50:02 +0000 (10:50 +1100)
commitd34c5f26cf7de52a72ee064698817a5a39b91767
treee4e1d536bc244a27b97a6751da0306e989f478ec
parentebaeb5ae24379b5b635dc1d1fa6df904bc95b4d9
fadump: Add PT_NOTE program header for vmcoreinfo

Introduce a PT_NOTE program header that points to physical address of
vmcoreinfo_note buffer declared in kernel/kexec.c. The vmcoreinfo
note buffer is populated during crash_fadump() at the time of system
crash.

Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/fadump.c