x86: HWPOISON: Report correct address granuality for huge hwpoison faults
authorAndi Kleen <ak@linux.intel.com>
Mon, 27 Sep 2010 20:05:55 +0000 (22:05 +0200)
committerAndi Kleen <ak@linux.intel.com>
Fri, 8 Oct 2010 07:32:46 +0000 (09:32 +0200)
commitf672b49b07a4a152fc4251f2aec6b4d05164c4cd
treef2d6ded63009c344dacdc8b138ade6e8fe1ba5db
parentaa50d3a7aa8147b9e14dc9d5972a5d2359db4ef8
x86: HWPOISON: Report correct address granuality for huge hwpoison faults

An earlier patch fixed the hwpoison fault handling to encode the
huge page size in the fault code of the page fault handler.

This is needed to report this information in SIGBUS to user space.

This is a straight forward patch to pass this information
through to the signal handling in the x86 specific fault.c

Cc: x86@kernel.org
Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Cc: fengguang.wu@intel.com
Signed-off-by: Andi Kleen <ak@linux.intel.com>
arch/x86/mm/fault.c