From: Thomas Klein Date: Mon, 27 Oct 2008 09:38:46 +0000 (+0100) Subject: ehea: Detect 16GB hugepages for firmware restriction X-Git-Tag: v2.6.28-rc3~48^2~2^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fd09c45bfbcf77949ed6db36e67c1681424fedb;p=pandora-kernel.git ehea: Detect 16GB hugepages for firmware restriction All kernel memory which is used for kernel/hardware data transfer must be registered with firmware using "memory regions". 16GB hugepages may not be part of a memory region due to firmware restrictions. This patch modifies the walk_memory_resource callback fn to filter hugepages and add only standard memory to the busmap which is later on used for MR registration. Signed-off-by: Thomas Klein Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed