ACPI: Store SRAT table revision
authorKurt Garloff <kurt@garloff.de>
Tue, 17 Jan 2012 09:18:02 +0000 (04:18 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 26 Jan 2012 00:13:46 +0000 (16:13 -0800)
commit45ed93deefc42db6c0cf3154f50f5f6404d7ecf5
tree3344229d577646b8ab6b2a2f05576841bd7e4810
parentcaa3e3bed0bf0ec356101811dcd46c9603ec3788
ACPI: Store SRAT table revision

commit 8df0eb7c9d96f9e82f233ee8b74e0f0c8471f868 upstream.

In SRAT v1, we had 8bit proximity domain (PXM) fields; SRAT v2 provides
32bits for these. The new fields were reserved before.
According to the ACPI spec, the OS must disregrard reserved fields.
In order to know whether or not, we must know what version the SRAT
table has.

This patch stores the SRAT table revision for later consumption
by arch specific __init functions.

Signed-off-by: Kurt Garloff <kurt@garloff.de>
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/acpi/numa.c
include/acpi/acpi_numa.h