From: Andreas Herrmann Date: Tue, 10 Jun 2008 14:05:18 +0000 (+0200) Subject: x86: PAT: fix ambiguous paranoia check in pat_init() X-Git-Tag: v2.6.27-rc1~1106^2~251^18~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97cfab6ac4ddfda0d722393bbf46cc40bc332107;p=pandora-kernel.git x86: PAT: fix ambiguous paranoia check in pat_init() Starting with commit 8d4a4300854f3971502e81dacd930704cb88f606 (x86: cleanup PAT cpu validation) the PAT CPU feature flag is not cleared anymore. Now the error message "PAT enabled, but CPU feature cleared" in pat_init() is misleading. Furthermore the current code does not check for existence of the PAT CPU feature flag if a CPU is whitelisted in validate_pat_support. This patch clears pat_wc_enabled if boot CPU has no PAT feature flag and adapts the paranoia check. Signed-off-by: Andreas Herrmann Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed