memory-failure: export page_type and action result
authorXie XiuQi <[email protected]>
Wed, 24 Jun 2015 23:57:30 +0000 (16:57 -0700)
committerLinus Torvalds <[email protected]>
Thu, 25 Jun 2015 00:49:43 +0000 (17:49 -0700)
commitcc637b1704d78b068c2eb700eec384c69ea56cdf
tree3a406d52580aa7ce7b834a580922742bd3d665d4
parenteb3c24f305e56caaf5c4bd34d2923839688d470e
memory-failure: export page_type and action result

Export 'outcome' and 'action_page_type' to mm.h, so we could use
this emnus outside.

This patch is preparation for adding trace events for memory-failure
recovery action.

Signed-off-by: Xie XiuQi <[email protected]>
Acked-by: Naoya Horiguchi <[email protected]>
Cc: Chen Gong <[email protected]>
Cc: Jim Davis <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Tony Luck <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/mm.h
mm/memory-failure.c