From 12da58b0c89e27617aaedde7dcf99a8690875e91 Mon Sep 17 00:00:00 2001 From: Chen Gong Date: Tue, 22 Mar 2011 16:35:03 -0700 Subject: [PATCH] Documentation/vm/page-types.c: auto debugfs mount for hwpoison operation page-types.c doesn't supply a way to specify the debugfs path and the original debugfs path is not usual on most machines. This patch supplies a way to auto mount debugfs if needed. This patch is heavily inspired by tools/perf/utils/debugfs.c [akpm@linux-foundation.org: make functions static] [akpm@linux-foundation.org: fix debugfs_mount() signature] Signed-off-by: Chen Gong Reviewed-by: KOSAKI Motohiro Reviewed-by: Wu Fengguang Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-format-patch failed