From 7ace4e4795b51dd7fb60a749fe767a8187a0f86d Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Mon, 3 Dec 2012 11:50:49 -0800 Subject: [PATCH] compat: backport definition of PCI_MSIX_ENTRY_CTRL_MASKBIT This backports the addition of PCI_MSIX_ENTRY_CTRL_MASKBIT. mcgrof@frijol ~/linux-next (git::master)$ git describe --contains 8d805286968811223cca002134ba3d81244d5313 v2.6.38-rc1~55^2~14 commit 8d805286968811223cca002134ba3d81244d5313 Author: Sheng Yang Date: Thu Nov 11 15:46:55 2010 +0800 PCI: Add mask bit definition for MSI-X table Then we can use it instead of magic number 1. Reviewed-by: Hidetoshi Seto Cc: Matthew Wilcox Signed-off-by: Sheng Yang Signed-off-by: Jesse Barnes Signed-off-by: Luis R. Rodriguez --- include/linux/compat-2.6.38.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/compat-2.6.38.h b/include/linux/compat-2.6.38.h index b397c74db4a9..0aa5d9b7996d 100644 --- a/include/linux/compat-2.6.38.h +++ b/include/linux/compat-2.6.38.h @@ -10,6 +10,8 @@ #include #include +#define PCI_MSIX_ENTRY_CTRL_MASKBIT 1 + #define alloc_etherdev_mqs(sizeof_priv, tx_q, rx_q) alloc_etherdev_mq(sizeof_priv, tx_q) /* MSI-X entry's format */ -- 2.30.2