kernel-fxtec-pro1x/fs/pstore
Seiji Aguchi 381b872cf7 pstore: Introduce get_reason_str() to pstore
Recently, there has been some changes in kmsg_dump() below and they have been applied to linus-tree.
 (1) kmsg_dump(KMSG_DUMP_KEXEC) was removed.
     http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=a3dd3323058d281abd584b15ad4c5b65064d7a61

 (2) The order of "enum kmsg_dump_reason" was modified.
     http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=c22ab332902333f83766017478c1ef6607ace681

Replace the fragile reason_str array with a more robust solution that
will not be broken by future re-arrangements of the enum values.

Signed-off-by: Seiji Aguchi <seiji.aguchi@hds.com>
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Don Zickus <dzickus@redhat.com>
Link: https://lkml.org/lkml/2012/3/16/417
Signed-off-by: Tony Luck <tony.luck@intel.com>
2012-03-16 15:36:59 -07:00
..
inode.c pstore: gracefully handle NULL pstore_info functions 2011-11-18 13:49:00 -08:00
internal.h pstore: defer inserting OOPS entries into pstore 2011-08-16 11:53:01 -07:00
Kconfig Fix common misspellings 2011-03-31 11:26:23 -03:00
Makefile pstore: new filesystem interface to platform persistent storage 2010-12-28 14:25:21 -08:00
platform.c pstore: Introduce get_reason_str() to pstore 2012-03-16 15:36:59 -07:00