This is a note to let you know that I've just added the patch titled

    x86/Sandy Bridge: Sandy Bridge workaround depends on CONFIG_PCI

to the 3.0-stable tree which can be found at:
    
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     x86-sandy-bridge-sandy-bridge-workaround-depends-on-config_pci.patch
and it can be found in the queue-3.0 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.


>From e43b3cec711a61edf047adf6204d542f3a659ef8 Mon Sep 17 00:00:00 2001
From: "H. Peter Anvin" <[email protected]>
Date: Sun, 13 Jan 2013 20:56:41 -0800
Subject: x86/Sandy Bridge: Sandy Bridge workaround depends on CONFIG_PCI

From: "H. Peter Anvin" <[email protected]>

commit e43b3cec711a61edf047adf6204d542f3a659ef8 upstream.

early_pci_allowed() and read_pci_config_16() are only available if
CONFIG_PCI is defined.

Signed-off-by: H. Peter Anvin <[email protected]>
Cc: Jesse Barnes <[email protected]>
Signed-off-by: Abdallah Chatila <[email protected]>

---
 arch/x86/kernel/setup.c |    2 ++
 1 file changed, 2 insertions(+)

--- a/arch/x86/kernel/setup.c
+++ b/arch/x86/kernel/setup.c
@@ -633,6 +633,7 @@ static unsigned reserve_low = CONFIG_X86
 
 static bool __init snb_gfx_workaround_needed(void)
 {
+#ifdef CONFIG_PCI
        int i;
        u16 vendor, devid;
        static const u16 snb_ids[] = {
@@ -657,6 +658,7 @@ static bool __init snb_gfx_workaround_ne
        for (i = 0; i < ARRAY_SIZE(snb_ids); i++)
                if (devid == snb_ids[i])
                        return true;
+#endif
 
        return false;
 }


Patches currently in stable-queue which might be from [email protected] are

queue-3.0/x86-sandy-bridge-sandy-bridge-workaround-depends-on-config_pci.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to