Amir Vadai b3292e88e3 crash_dump: Make is_kdump_kernel() accessible from modules
In order to make is_kdump_kernel() accessible from modules, need to
make elfcorehdr_addr exported.
This was rejected in the past [1] because reset_devices was prefered in
that context (reseting the device in kdump kernel), but now there are
some network drivers that need to reduce memory usage when loaded from
a kdump kernel.  And in that context, is_kdump_kernel() suits better.

[1] - https://lkml.org/lkml/2011/1/27/341

CC: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-08-25 15:42:19 -07:00
..
2014-06-12 16:18:45 +02:00
2014-08-08 15:57:17 -07:00
2014-08-08 15:57:18 -07:00
2014-07-05 11:17:45 +02:00
2014-08-08 15:57:32 -07:00
2014-08-08 15:57:24 -07:00
2014-07-17 22:07:37 +02:00
2013-09-11 15:58:27 -07:00
2014-08-08 15:57:22 -07:00
2014-08-08 15:57:24 -07:00