compat-rdma/compat.git
5 years agocompat-3.16: Mask cpumask_set_cpu_local_first as RHEL7.1 backports this symbol
Vladimir Sokolovsky [Wed, 15 Apr 2015 05:52:53 +0000 (08:52 +0300)]
compat-3.16: Mask cpumask_set_cpu_local_first as RHEL7.1 backports this symbol

issue: http://bugs.openfabrics.org/bugzilla/show_bug.cgi?id=2531

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agocompat/compat-2.6.36.c: Fix infinite recursion in flush_scheduled_work
Alaa Hleihel [Mon, 6 Apr 2015 13:22:49 +0000 (16:22 +0300)]
compat/compat-2.6.36.c: Fix infinite recursion in flush_scheduled_work

issue: 532623
Change-Id: I20a2d78132e06cda8465a0b0c5a7149b8d79e8d4
Signed-off-by: Alaa Hleihel <alaa@mellanox.com>
5 years agoRemoved include/linux/compat-3.17.h
Vladimir Sokolovsky [Wed, 1 Apr 2015 19:11:52 +0000 (22:11 +0300)]
Removed include/linux/compat-3.17.h

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoAdded checks required to support RHEL7.1
Vladimir Sokolovsky [Wed, 1 Apr 2015 18:45:44 +0000 (21:45 +0300)]
Added checks required to support RHEL7.1

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agordma.m4: Fixing and adding defines for be2net driver backport
Selvin Xavier [Tue, 24 Mar 2015 11:22:05 +0000 (16:52 +0530)]
rdma.m4: Fixing and adding defines for be2net driver backport

Correcting HAVE_NDO_RX_ADD_VID_HAS_3_PARAMS used by be2net driver.
Also, add rule to define  HAVE_DMA_SET_MASK_AND_COHERENT for
dma_set_mask_and_coherent.

Signed-off-by: Selvin Xavier <selvin.xavier@emulex.com>
5 years agocompat: determine if reinit_completion() is present
Mike Marciniszyn [Wed, 4 Mar 2015 16:57:49 +0000 (11:57 -0500)]
compat: determine if reinit_completion() is present

Use HAVE_REINIT_COMPLETION to avoid duplicate definition.

Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
5 years agocompat: add smp_mb__before_clear_bit as necessary
Mike Marciniszyn [Wed, 4 Mar 2015 16:37:59 +0000 (11:37 -0500)]
compat: add smp_mb__before_clear_bit as necessary

RHEL7.1 no longer has the above macro in <asm/bitops.h>.

Add it in the compat version of <linux/bitops> as if
<asm/bitops.h> had provided it.

This really include probably needs to be reworked using
the autoconf stuff.

Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
5 years agoCorrect HAVE_PCI_DEV_PCIE_MPSS spelling
Mike Marciniszyn [Wed, 4 Mar 2015 17:30:44 +0000 (12:30 -0500)]
Correct HAVE_PCI_DEV_PCIE_MPSS spelling

Commit fef932831471 ("autoconf options for qib driver for RHEL 6.6)
introduced a build warning because of a spelling error.

Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
5 years agoMerge branch 'qib_318_backport' of git://openfabrics.org/~mmarciniszyn/new_ofed/compa...
Vladimir Sokolovsky [Wed, 4 Mar 2015 11:36:16 +0000 (13:36 +0200)]
Merge branch 'qib_318_backport' of git://openfabrics.org/~mmarciniszyn/new_ofed/compat into ofed

5 years agocompat-2.6.h: Remove unused headers
Vladimir Sokolovsky [Wed, 4 Mar 2015 09:48:58 +0000 (11:48 +0200)]
compat-2.6.h: Remove unused headers

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agocompat-2.6.29.h: Avoid include on kernels > 2.6.29
Vladimir Sokolovsky [Wed, 4 Mar 2015 09:34:01 +0000 (11:34 +0200)]
compat-2.6.29.h: Avoid include on kernels > 2.6.29

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agocompat-2.6.h: include generated config.h
Vladimir Sokolovsky [Wed, 4 Mar 2015 09:15:29 +0000 (11:15 +0200)]
compat-2.6.h: include generated config.h

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoconfig/build-linux.m4: Fix typo
Vladimir Sokolovsky [Wed, 4 Mar 2015 09:10:58 +0000 (11:10 +0200)]
config/build-linux.m4: Fix typo

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoFix typos in rdma.m4
Vladimir Sokolovsky [Wed, 4 Mar 2015 09:06:17 +0000 (11:06 +0200)]
Fix typos in rdma.m4

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoProvides backporting of qib driver for RHEL 6.5
Vinit Agnihotri [Thu, 29 Jan 2015 07:09:41 +0000 (23:09 -0800)]
Provides backporting of qib driver for RHEL 6.5

Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Vinit Agnihotri <vinit.abhay.agnihotri@intel.com>
5 years agoautoconf options for qib driver for RHEL 6.6
Vinit Agnihotri [Tue, 27 Jan 2015 08:35:09 +0000 (00:35 -0800)]
autoconf options for qib driver for RHEL 6.6

Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Vinit Agnihotri <vinit.abhay.agnihotri@intel.com>
5 years agoAdding defines for backporting be2net and ocrdma.
Mitesh Ahuja [Thu, 12 Feb 2015 09:44:08 +0000 (01:44 -0800)]
Adding defines for backporting be2net and ocrdma.

Added HAVE_ETHTOOL_OPS_SET_DUMP, HAVE_ETHTOOL_OPS_GET_MODULE_INFO,
HAVE_ETHTOOL_OPS_GET_MODULE_EEPROM, HAVE_NETDEV_DEV_ADDR,
HAVE_INETADDR_IF_NEXT, HAVE_IDR_NEW_INTERFACE

5 years agocompat: Fix autoconf probe for pcie_mpss
Vinit Agnihotri [Thu, 15 Jan 2015 14:21:03 +0000 (09:21 -0500)]
compat: Fix autoconf probe for pcie_mpss

Configure script prints compilation error while
configuring for pcie_mpss:

compat/build/conftest.c:72:7: error: invalid type...
pdev->pcie_mpss = 0;

The qib driver counts on this probe being correct.

bug: 2518

Signed-off-by: Vinit Agnihotri <vinit.abhay.agnihotri@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
5 years agocompat-2.6.h: Added missing include
Vladimir Sokolovsky [Thu, 15 Jan 2015 08:33:35 +0000 (10:33 +0200)]
compat-2.6.h: Added missing include

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoAdd new rules for cxgb4/RHEL6.6
Steve Wise [Wed, 14 Jan 2015 23:42:26 +0000 (17:42 -0600)]
Add new rules for cxgb4/RHEL6.6

Add HAVE_MM_TYPES_PAGE_FRAG check
Add HAVE___VLAN_FIND_DEV_DEV check

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
5 years agocompat-2.6.33.h: Removed IFF_DONT_BRIDGE to avoid redefinition warning
Vladimir Sokolovsky [Tue, 13 Jan 2015 13:31:22 +0000 (15:31 +0200)]
compat-2.6.33.h: Removed IFF_DONT_BRIDGE to avoid redefinition warning

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoAdded kvfree backport
Vladimir Sokolovsky [Tue, 13 Jan 2015 13:03:00 +0000 (15:03 +0200)]
Added kvfree backport

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoAdd AC rules and macros for Chelsio backports
Steve Wise [Thu, 8 Jan 2015 20:52:33 +0000 (14:52 -0600)]
Add AC rules and macros for Chelsio backports

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
5 years agoAdd PCI_EXP_LNKCTL_ASPM_L0S define
Steve Wise [Wed, 7 Jan 2015 19:51:22 +0000 (13:51 -0600)]
Add PCI_EXP_LNKCTL_ASPM_L0S define

Used by cxgb3 backport.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
5 years agoconfig/rdma.m4: Fixed typos
Vladimir Sokolovsky [Wed, 7 Jan 2015 16:16:22 +0000 (18:16 +0200)]
config/rdma.m4: Fixed typos

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoconfig/rdma.m4: Fixed definition HAVE_ISCSI_SCSI_REQ
Vladimir Sokolovsky [Wed, 7 Jan 2015 15:52:40 +0000 (17:52 +0200)]
config/rdma.m4: Fixed definition HAVE_ISCSI_SCSI_REQ

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoAdded HAVE_REQUEST_QUEUE_REQUEST_FN_ACTIVE macro
Vladimir Sokolovsky [Wed, 7 Jan 2015 15:03:24 +0000 (17:03 +0200)]
Added HAVE_REQUEST_QUEUE_REQUEST_FN_ACTIVE macro

Used by SRP backport

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agordma.m4: Added iSER checkers
Vladimir Sokolovsky [Wed, 7 Jan 2015 12:33:38 +0000 (14:33 +0200)]
rdma.m4: Added iSER checkers

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoFixed netlink_dump_start backport
Vladimir Sokolovsky [Mon, 5 Jan 2015 17:42:28 +0000 (19:42 +0200)]
Fixed netlink_dump_start backport

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoAdded SLES11 SP3 support
Vladimir Sokolovsky [Mon, 5 Jan 2015 15:54:21 +0000 (17:54 +0200)]
Added SLES11 SP3 support

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agordma.m4: fix typo
Vladimir Sokolovsky [Tue, 16 Dec 2014 16:49:22 +0000 (18:49 +0200)]
rdma.m4: fix typo

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoAdded staff to support RHEL6.x
Vladimir Sokolovsky [Sun, 14 Dec 2014 11:12:50 +0000 (13:12 +0200)]
Added staff to support RHEL6.x

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agocompat: Added HAVE_PCI_DEV_PCIE_MPSS macro
Vladimir Sokolovsky [Tue, 9 Dec 2014 17:05:17 +0000 (19:05 +0200)]
compat: Added HAVE_PCI_DEV_PCIE_MPSS macro

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agocompat-3.16.h: Removed #include <asm/barrier.h>
Vladimir Sokolovsky [Tue, 9 Dec 2014 17:04:02 +0000 (19:04 +0200)]
compat-3.16.h: Removed #include <asm/barrier.h>

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoAdding defines for backporting be2net
Selvin Xavier [Sat, 6 Dec 2014 04:08:56 +0000 (09:38 +0530)]
Adding defines for backporting be2net

Added HAVE_U64_STATS_SYNC, HAVE_U64_STATS_FETCH_BEGIN_IRQ,
HAVE_ETHER_ADDR_COPY, HAVE_SET_VF_RATE, HAVE_NET_DEVICE_PRIV_FLAGS,
HAVE_NDO_GET_STATS64, HAVE_NDO_BRIDGE_SET_GET_LINK,
HAVE_NDO_RX_ADD_VID_HAS_3_PARAMS, HAVE_RETURN_INT_FOR_SET_NUM_TX_QUEUES,
HAVE_SET_PHYS_ID, HAVE_GET_SET_CHANNELS, HAVE_NETDEV_HW_ADDR,
HAVE_PCI_VF_ASSIGNED, HAVE_3_PARAMS_FOR_VLAN_HWACCEL_PUT_TAG,
HAVE_NETDEV_HW_FEATURES, HAVE_VLAN_HWACCEL_RECEIVE_SKB

Signed-off-by: Selvin Xavier <selvin.xavier@emulex.com>
6 years agoAdd HAVE_BOND_FOR_EACH_SLAVE_3_PARAMS check
Steve Wise [Thu, 20 Nov 2014 22:27:47 +0000 (16:27 -0600)]
Add HAVE_BOND_FOR_EACH_SLAVE_3_PARAMS check

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
6 years agoAdd PCI_EXP_LNKSTA_CLS_8_0GB
Steve Wise [Wed, 19 Nov 2014 22:41:00 +0000 (16:41 -0600)]
Add PCI_EXP_LNKSTA_CLS_8_0GB

Add a compat-3.14.h to define PCI_EXP_LNKSTA_CLS_8_0GB if undefined.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
6 years agoAdded NDO_SELECT_QUEUE_HAS_ACCEL_PRIV and HAVE_BONDING_H
Steve Wise [Tue, 18 Nov 2014 13:26:39 +0000 (07:26 -0600)]
Added NDO_SELECT_QUEUE_HAS_ACCEL_PRIV and HAVE_BONDING_H

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
6 years agoAdd check for __vlan_find_dev_deep_rcu
Steve Wise [Mon, 17 Nov 2014 16:39:23 +0000 (10:39 -0600)]
Add check for __vlan_find_dev_deep_rcu

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
6 years agoAdded pcie_get_mps/pcie_set_mps
Vladimir Sokolovsky [Wed, 5 Nov 2014 12:50:03 +0000 (14:50 +0200)]
Added pcie_get_mps/pcie_set_mps

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agocompat-3.12.h: Added pcie_link_speed declaration
Vladimir Sokolovsky [Wed, 5 Nov 2014 12:46:04 +0000 (14:46 +0200)]
compat-3.12.h: Added pcie_link_speed declaration

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agoUse HAVE_PCIE_LINK_WIDTH
Vladimir Sokolovsky [Wed, 5 Nov 2014 12:31:20 +0000 (14:31 +0200)]
Use HAVE_PCIE_LINK_WIDTH

This is to avoid redefinition of 'enum pcie_link_width' on OSes that
backport this enum.

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agoMove pci_bus_speed enum to compat-2.6.34.h
Vladimir Sokolovsky [Wed, 5 Nov 2014 12:28:16 +0000 (14:28 +0200)]
Move pci_bus_speed enum to compat-2.6.34.h

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agoMerge branch 'ofed' of git://flatbed.openfabrics.org/~tnikolova/compat/ into ofed
Vladimir Sokolovsky [Wed, 5 Nov 2014 12:07:45 +0000 (14:07 +0200)]
Merge branch 'ofed' of git://flatbed.openfabrics.org/~tnikolova/compat/ into ofed

Conflicts:
include/linux/compat-3.12.h

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agocompat: Fixed pcie_get_minimum_link declaration
Vladimir Sokolovsky [Mon, 3 Nov 2014 15:17:27 +0000 (17:17 +0200)]
compat: Fixed pcie_get_minimum_link declaration

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agordma.m4: Added macros to support SLES12
Vladimir Sokolovsky [Sun, 2 Nov 2014 19:06:31 +0000 (21:06 +0200)]
rdma.m4: Added macros to support SLES12

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agobuild-linux.m4: Fixed kconfig.h path
Vladimir Sokolovsky [Sun, 2 Nov 2014 17:47:14 +0000 (19:47 +0200)]
build-linux.m4: Fixed kconfig.h path

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agoSubject: [PATCH] Adding missing enums from linux/pci.h
Tatyana E. Nikolova [Thu, 30 Oct 2014 21:44:18 +0000 (14:44 -0700)]
Subject: [PATCH] Adding missing enums from linux/pci.h

Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
6 years agoAdded support for linux-3.18
Vladimir Sokolovsky [Mon, 27 Oct 2014 16:24:35 +0000 (18:24 +0200)]
Added support for linux-3.18

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agoAdded autotools environment
Vladimir Sokolovsky [Mon, 27 Oct 2014 15:15:13 +0000 (17:15 +0200)]
Added autotools environment

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agocompat: Avoid kthread compilation on kernels that include kthread ofed_3_12_1 vofed-3.12-1-rc3
Vladimir Sokolovsky [Mon, 29 Sep 2014 12:00:16 +0000 (15:00 +0300)]
compat: Avoid kthread compilation on kernels that include kthread

This is required to support RHEL6.6

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agocompat: Prevent redefining ETH_FLAG_TXVLAN/ETH_FLAG_RXVLAN.
Alaa Hleihel [Sun, 28 Sep 2014 09:02:19 +0000 (12:02 +0300)]
compat: Prevent redefining ETH_FLAG_TXVLAN/ETH_FLAG_RXVLAN.

Signed-off-by: Alaa Hleihel <alaa@mellanox.com>
6 years agoRevert "Removed kthread stuff"
Vladimir Sokolovsky [Mon, 29 Sep 2014 09:58:49 +0000 (12:58 +0300)]
Revert "Removed kthread stuff"

This reverts commit e52f6ee8adc16ec6b702c4457fd84b164ba25aec.

6 years agoRemoved kthread stuff
Vladimir Sokolovsky [Mon, 18 Aug 2014 16:42:46 +0000 (19:42 +0300)]
Removed kthread stuff

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agoRemoved support for special power management features
Vladimir Sokolovsky [Mon, 18 Aug 2014 14:34:56 +0000 (17:34 +0300)]
Removed support for special power management features

These features are not used by OFED components.

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agocompat: Remove unused include/linux/tracepoint.h
Vladimir Sokolovsky [Mon, 4 Aug 2014 14:36:36 +0000 (17:36 +0300)]
compat: Remove unused include/linux/tracepoint.h

This header came from the community compat and is not used by MLNX_OFED
modules. It prevents from Lustre 2.5.x to be compiled.
See https://jira.hpdd.intel.com/browse/LU-4266

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agoAdded support for RHEL7.0 vofed-3.12
Vladimir Sokolovsky [Tue, 18 Mar 2014 15:51:26 +0000 (17:51 +0200)]
Added support for RHEL7.0

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agocompat: Add kthread support for kernels <= 2.6.35 compat-2014-01-30
Dennis Dalessandro [Tue, 24 Dec 2013 16:20:30 +0000 (11:20 -0500)]
compat: Add kthread support for kernels <= 2.6.35

Signed-off by: Dennis Dalessandro (dennis.dalessandro@intel.com)

6 years agocompat: qib changes for 3.12
Dennis Dalessandro [Mon, 30 Dec 2013 15:04:48 +0000 (10:04 -0500)]
compat: qib changes for 3.12

Signed-off by Dennis Dalessandro (dennis.dalessandro@intel.com)

7 years agocompat: Added symbols required for SLES11 SP3 support
Vladimir Sokolovsky [Tue, 26 Nov 2013 15:26:07 +0000 (17:26 +0200)]
compat: Added symbols required for SLES11 SP3 support

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
7 years agocompat-2.6.h: Added #include <linux/compat-3.11.h>
Vladimir Sokolovsky [Mon, 11 Nov 2013 12:21:35 +0000 (14:21 +0200)]
compat-2.6.h: Added #include <linux/compat-3.11.h>

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
7 years agoAdded support for RHEL6.5
Vladimir Sokolovsky [Mon, 11 Nov 2013 11:06:18 +0000 (13:06 +0200)]
Added support for RHEL6.5

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
7 years agocompat: Add support for 3.12
Vladimir Sokolovsky [Tue, 3 Sep 2013 15:27:12 +0000 (18:27 +0300)]
compat: Add support for 3.12

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
7 years agocompat: Avoid rcu_dereference_protected and kfree_rcu redefinition ofed_3_5 vofed-3.5-x
Vladimir Sokolovsky [Mon, 19 Aug 2013 15:36:53 +0000 (18:36 +0300)]
compat: Avoid rcu_dereference_protected and kfree_rcu redefinition

bug: 2421

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
7 years agocompat: Avoid symbols duplication by compat
Vladimir Sokolovsky [Mon, 19 Aug 2013 13:36:25 +0000 (16:36 +0300)]
compat: Avoid symbols duplication by compat

Use LINUX_BACKPORT macro to rename exported symbol to avoid duplication.
Removed ida_simple_get symbol as not required by RDMA

bug: 2436
bug: 2413

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
7 years agoAdded support for SLES11SP3
Vladimir Sokolovsky [Thu, 25 Jul 2013 15:27:06 +0000 (18:27 +0300)]
Added support for SLES11SP3

Signed-off-by: Robert J Woodruff <robert.j.woodruff@intel.com>
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
7 years agoAdded RHEL6.4 support
Rupert Dance [Wed, 22 May 2013 16:21:20 +0000 (19:21 +0300)]
Added RHEL6.4 support

Signed-off-by: Rupert Dance <rsdance@soft-forge.com>
8 years agocompat: Add netdev_tx_reset_queue and NETIF_F_LOOPBACK
Vladimir Sokolovsky [Sun, 5 Aug 2012 18:19:52 +0000 (21:19 +0300)]
compat: Add netdev_tx_reset_queue and NETIF_F_LOOPBACK

Required by mlx4_en

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
8 years agocompat: Add __skb_frag_unref
Vladimir Sokolovsky [Sun, 5 Aug 2012 18:18:12 +0000 (21:18 +0300)]
compat: Add __skb_frag_unref

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
8 years agocompat: Fix cxgb3/cxgb4 missing symbol error on load
Vipul Pandya [Tue, 31 Jul 2012 09:06:19 +0000 (14:36 +0530)]
compat: Fix cxgb3/cxgb4 missing symbol error on load

Commit id 182630e0f686a569aaf9b34781b08f27dc0ab1bb was causing missing symbol
error on load time for cxgb3/cxgb4 module. This commit adds additional check to
avoid the issue.

Signed-off-by: Vipul Pandya <vipul@chelsio.com>
8 years agocompat: Add netdev_tx_sent_queue and netdev_tx_completed_queue
Vladimir Sokolovsky [Thu, 12 Jul 2012 20:26:36 +0000 (23:26 +0300)]
compat: Add netdev_tx_sent_queue and netdev_tx_completed_queue

[linux-2.6] (master)$ git describe --contains \
c5d67bd78c5dc540e3461c36fb3d389fbe0de4c3
v3.3-rc1~182^2~426

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
8 years agocompat: Remove duplicated symbols for RHEL6.3
Vladimir Sokolovsky [Tue, 10 Jul 2012 21:01:50 +0000 (00:01 +0300)]
compat: Remove duplicated symbols for RHEL6.3

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
8 years agocompat: Export ip_tos2prio symbol
Vladimir Sokolovsky [Wed, 11 Jul 2012 07:36:25 +0000 (10:36 +0300)]
compat: Export ip_tos2prio symbol

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
8 years agocompat: Add register_net_sysctl
Vladimir Sokolovsky [Tue, 10 Jul 2012 16:00:58 +0000 (19:00 +0300)]
compat: Add register_net_sysctl

[linux-2.6] (master)$ git describe --contains ab41a2ca
v3.5-rc1~109^2~369

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
8 years agoBackport compat to RHEL6.3
Vladimir Sokolovsky [Tue, 10 Jul 2012 12:47:14 +0000 (15:47 +0300)]
Backport compat to RHEL6.3

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
8 years agoRemove include/compat_autoconf.h
Vladimir Sokolovsky [Mon, 2 Jul 2012 12:29:37 +0000 (15:29 +0300)]
Remove include/compat_autoconf.h

This file is not yet generated for compat-rdma

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
8 years agoMerge branch 'master' into ofed compat-2012-07-02
Vladimir Sokolovsky [Wed, 27 Jun 2012 20:40:30 +0000 (23:40 +0300)]
Merge branch 'master' into ofed

8 years agocompat: improve ckmake to add short report
Luis R. Rodriguez [Thu, 14 Jun 2012 22:28:54 +0000 (15:28 -0700)]
compat: improve ckmake to add short report

A short report is added now at the end of the cmake.log
and also a new file ckmake-report.log if you want only
the short summary. Tabs are now broken on the report
but I prefer this over not having this short report.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
8 years agocompat: Backport fault_in_multipages_{writeable,readable}
Ozan Çağlayan [Thu, 14 Jun 2012 17:52:46 +0000 (20:52 +0300)]
compat: Backport fault_in_multipages_{writeable,readable}

This backports:

commit f56f821feb7b36223f309e0ec05986bb137ce418
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Sun Mar 25 19:47:41 2012 +0200

    mm: extend prefault helpers to fault in more than PAGE_SIZE

The new functions are used by drm/i915 driver.

Trying kernel                     3.4.0-030400-generic [OK]
Trying kernel                     3.3.7-030307-generic [OK]
Trying kernel                     3.2.2-030202-generic [OK]
Trying kernel                    3.1.10-030110-generic [OK]
Trying kernel                    3.0.18-030018-generic [OK]
Trying kernel                  2.6.39-02063904-generic [OK]
Trying kernel                  2.6.38-02063808-generic [OK]
Trying kernel                  2.6.37-02063706-generic [OK]
Trying kernel                  2.6.36-02063604-generic [OK]
Trying kernel                  2.6.35-02063512-generic [OK]
Trying kernel                  2.6.34-02063410-generic [OK]
Trying kernel                  2.6.33-02063305-generic [OK]
Trying kernel                  2.6.32-02063255-generic [OK]
Trying kernel                  2.6.31-02063113-generic [OK]
Trying kernel                  2.6.30-02063010-generic [OK]
Trying kernel                  2.6.29-02062906-generic [OK]
Trying kernel                  2.6.28-02062810-generic [OK]
Trying kernel                    2.6.27-020627-generic [OK]
Trying kernel                    2.6.26-020626-generic [OK]
Trying kernel                    2.6.25-020625-generic [OK]
Trying kernel                    2.6.24-020624-generic [OK]

Signed-off-by: Ozan Çağlayan <ozancag@gmail.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
8 years agocompat: Fix cosmetic typo in compat-3.4.c
Ozan Çağlayan [Thu, 14 Jun 2012 17:52:45 +0000 (20:52 +0300)]
compat: Fix cosmetic typo in compat-3.4.c

compat-3.4.c is for kernel version 3.4 not 3.5.

Signed-off-by: Ozan Çağlayan <ozancag@gmail.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
8 years agocompat: Backport vga_switcheroo_client_ops
Ozan Çağlayan [Thu, 14 Jun 2012 17:52:44 +0000 (20:52 +0300)]
compat: Backport vga_switcheroo_client_ops

This backports:

  From 26ec685ff9d9c16525d8ec4c97e52fcdb187b302 Mon Sep 17 00:00:00

  From: Takashi Iwai <tiwai@suse.de>
  Date: Fri, 11 May 2012 07:51:17 +0200
  Subject: [PATCH] vga_switcheroo: Introduce struct vga_switcheroo_client_ops

  only for kernels >= 2.6.34 in which vga_switcheroo is available.

  Trying kernel                     3.4.0-030400-generic    [OK]
  Trying kernel                     3.3.7-030307-generic    [OK]
  Trying kernel                     3.2.2-030202-generic    [OK]
  Trying kernel                    3.1.10-030110-generic    [OK]
  Trying kernel                    3.0.18-030018-generic    [OK]
  Trying kernel                  2.6.39-02063904-generic    [OK]
  Trying kernel                  2.6.38-02063808-generic    [OK]
  Trying kernel                  2.6.37-02063706-generic    [OK]
  Trying kernel                  2.6.36-02063604-generic    [OK]
  Trying kernel                  2.6.35-02063512-generic    [OK]
  Trying kernel                  2.6.34-02063410-generic    [OK]
  Trying kernel                  2.6.33-02063305-generic    [OK]
  Trying kernel                  2.6.32-02063255-generic    [OK]
  Trying kernel                  2.6.31-02063113-generic    [OK]
  Trying kernel                  2.6.30-02063010-generic    [OK]
  Trying kernel                  2.6.29-02062906-generic    [OK]
  Trying kernel                  2.6.28-02062810-generic    [OK]
  Trying kernel                    2.6.27-020627-generic    [OK]
  Trying kernel                    2.6.26-020626-generic    [OK]
  Trying kernel                    2.6.25-020625-generic    [OK]
  Trying kernel                    2.6.24-020624-generic    [OK]

Signed-off-by: Ozan Çağlayan <ozancag@gmail.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
8 years agocompat: add SDIO_CCCR_REV_3_00 and SDIO_SDIO_REV_3_00
Luis R. Rodriguez [Wed, 13 Jun 2012 02:23:38 +0000 (19:23 -0700)]
compat: add SDIO_CCCR_REV_3_00 and SDIO_SDIO_REV_3_00

This backports:

commit b4625dab2c618eb87e177761dda3182b4cfaa604
Author: Bing Zhao <bzhao@marvell.com>
Date:   Thu Oct 20 19:16:32 2011 -0700

    mmc: recognise SDIO cards with SDIO_CCCR_REV 3.00

    Table 6-2: CCCR bit Definitions, address 00h.  Part E1 SDIO Simplified
    Specification Version 3.00, Feb. 25, 2011.

    This patch has been tested with Marvell WLAN device SD8797.

Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
8 years agocompat: Add SIZE_MAX
Ozan Çağlayan [Tue, 12 Jun 2012 23:00:16 +0000 (02:00 +0300)]
compat: Add SIZE_MAX

This backports:

  From a3860c1c5dd1137db23d7786d284939c5761d517 Mon Sep 17 00:00:00
  From: Xi Wang <xi.wang@gmail.com>
  Date: Thu, 31 May 2012 16:26:04 -0700
  Subject: [PATCH] introduce SIZE_MAX

This is needed by include/drm/drm_mem_util.h

Trying kernel                     3.4.0-030400-generic  [OK]
Trying kernel                     3.3.7-030307-generic  [OK]
Trying kernel                     3.2.2-030202-generic  [OK]
Trying kernel                    3.1.10-030110-generic  [OK]
Trying kernel                    3.0.18-030018-generic  [OK]
Trying kernel                  2.6.39-02063904-generic  [OK]
Trying kernel                  2.6.38-02063808-generic  [OK]
Trying kernel                  2.6.37-02063706-generic  [OK]
Trying kernel                  2.6.36-02063604-generic  [OK]
Trying kernel                  2.6.35-02063512-generic  [OK]
Trying kernel                  2.6.34-02063410-generic  [OK]
Trying kernel                  2.6.33-02063305-generic  [OK]
Trying kernel                  2.6.32-02063255-generic  [OK]
Trying kernel                  2.6.31-02063113-generic  [OK]
Trying kernel                  2.6.30-02063010-generic  [OK]
Trying kernel                  2.6.29-02062906-generic  [OK]
Trying kernel                  2.6.28-02062810-generic  [OK]
Trying kernel                    2.6.27-020627-generic  [OK]
Trying kernel                    2.6.26-020626-generic  [OK]
Trying kernel                    2.6.25-020625-generic  [OK]
Trying kernel                    2.6.24-020624-generic  [OK]

Signed-off-by: Ozan Çağlayan <ozancag@gmail.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
8 years agocompat: bin/ckmake: Drop Ubuntu check
Ozan Çağlayan [Mon, 11 Jun 2012 21:46:19 +0000 (00:46 +0300)]
compat: bin/ckmake: Drop Ubuntu check

Don't check for distribution as it is now possible to use ckmake
on every distribution.

Signed-off-by: Ozan Çağlayan <ozancag@gmail.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
8 years agocompat: bin/get-compat-kernels: Do not depend on Ubuntu
Ozan Çağlayan [Mon, 11 Jun 2012 21:45:35 +0000 (00:45 +0300)]
compat: bin/get-compat-kernels: Do not depend on Ubuntu

Use Ubuntu PPA vanilla kernels on other distributions too.
The .deb files are extracted using 'ar' and 'tar'.

Also check if the target directory exists before downloading
the deb files.

Signed-off-by: Ozan Çağlayan <ozancag@gmail.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
8 years agocompat: bin/get-compat-kernels: Update 3.3 and add 3.4 kernels
Ozan Çağlayan [Mon, 11 Jun 2012 21:31:55 +0000 (00:31 +0300)]
compat: bin/get-compat-kernels: Update 3.3 and add 3.4 kernels

Ubdate 3.3 kernel to the latest one and add 3.4 kernel.

Signed-off-by: Ozan Çağlayan <ozancag@gmail.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
8 years agoMerge branch 'master' into ofed
Vladimir Sokolovsky [Sun, 10 Jun 2012 07:30:03 +0000 (10:30 +0300)]
Merge branch 'master' into ofed

Conflicts:
compat/Makefile
compat/compat-3.2.c
include/linux/compat-2.6.35.h
include/linux/compat-3.1.h

8 years agoFix SLES11 SP2 support
Vladimir Sokolovsky [Mon, 4 Jun 2012 20:17:55 +0000 (23:17 +0300)]
Fix SLES11 SP2 support

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
8 years agocompat: llist_add_batch was added in 3.2
Vladimir Sokolovsky [Sun, 3 Jun 2012 10:05:27 +0000 (13:05 +0300)]
compat: llist_add_batch was added in 3.2

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
8 years agocompat: Addition to compat-2.6.39.h
Tatyana Nikolova [Wed, 30 May 2012 19:40:06 +0000 (14:40 -0500)]
compat: Addition to compat-2.6.39.h

backport netif_is_bond_slave() < 2.6.39

Signed-off-by: Tatyana Nikolova <Tatyana.E.Nikolova@intel.com>
8 years agocompat: add ida_simple_{get,remove}
Hauke Mehrtens [Tue, 29 May 2012 22:41:48 +0000 (00:41 +0200)]
compat: add ida_simple_{get,remove}

This is needed by net/bluetooth/hci_core.c

mcgrof@tux ~/compat (git::master)$ ckmake
Trying kernel                  3.4.0-030400rc1-generic [OK]
Trying kernel                     3.3.7-030307-generic [OK]
Trying kernel                     3.2.2-030202-generic [OK]
Trying kernel                    3.1.10-030110-generic [OK]
Trying kernel                    3.0.18-030018-generic [OK]
Trying kernel                  2.6.39-02063904-generic [OK]
Trying kernel                  2.6.38-02063808-generic [OK]
Trying kernel                  2.6.37-02063706-generic [OK]
Trying kernel                  2.6.36-02063604-generic [OK]
Trying kernel                  2.6.35-02063512-generic [OK]
Trying kernel                  2.6.34-02063410-generic [OK]
Trying kernel                  2.6.33-02063305-generic [OK]
Trying kernel                  2.6.32-02063255-generic [OK]
Trying kernel                  2.6.31-02063113-generic [OK]
Trying kernel                  2.6.30-02063010-generic [OK]
Trying kernel                  2.6.29-02062906-generic [OK]
Trying kernel                  2.6.28-02062810-generic [OK]
Trying kernel                    2.6.27-020627-generic [OK]
Trying kernel                    2.6.26-020626-generic [OK]
Trying kernel                    2.6.25-020625-generic [OK]
Trying kernel                    2.6.24-020624-generic [OK]

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
8 years agocompat: remove hci_mon.h
Hauke Mehrtens [Tue, 29 May 2012 22:41:47 +0000 (00:41 +0200)]
compat: remove hci_mon.h

compat-wireless should copy this file from the kernel

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
8 years agocomapt: add skb_queue_walk_from
Hauke Mehrtens [Tue, 29 May 2012 22:41:46 +0000 (00:41 +0200)]
comapt: add skb_queue_walk_from

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
8 years agocompat: do not include qdisc_cb_private_validate with every kernel
Hauke Mehrtens [Tue, 29 May 2012 22:41:45 +0000 (00:41 +0200)]
compat: do not include qdisc_cb_private_validate with every kernel

This method got backported into kernel 3.2.9 and 3.0.23. Compat should
not provide it for these kernel versions as it will cause some compile
errors.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
8 years agocompat: backport FQ CoDel support down to 2.6.25
Luis R. Rodriguez [Fri, 25 May 2012 02:53:15 +0000 (19:53 -0700)]
compat: backport FQ CoDel support down to 2.6.25

FQ CoDel is available as a module, sch_fq_codel.

This backports:

commit 4b549a2ef4bef9965d97cbd992ba67930cd3e0fe
Author: Eric Dumazet <edumazet@google.com>
Date:   Fri May 11 09:30:50 2012 +0000

    fq_codel: Fair Queue Codel AQM

    Fair Queue Codel packet scheduler

    Principles :

    - Packets are classified (internal classifier or external) on flows.
    - This is a Stochastic model (as we use a hash, several flows might
                                  be hashed on same slot)
    - Each flow has a CoDel managed queue.
    - Flows are linked onto two (Round Robin) lists,
      so that new flows have priority on old ones.

    - For a given flow, packets are not reordered (CoDel uses a FIFO)
    - head drops only.
    - ECN capability is on by default.
    - Very low memory footprint (64 bytes per flow)

I should note that this is different than CoDel. This code is GPL,
CoDel is Dual BSD/GPL licensed. This goes only compile tested against
all the below kernels, run time test results would be appreciated.

mcgrof@tux ~/compat (git::master)$ ckmake
Trying kernel                  3.4.0-030400rc1-generic  [OK]
Trying kernel                     3.3.7-030307-generic  [OK]
Trying kernel                     3.2.2-030202-generic  [OK]
Trying kernel                    3.1.10-030110-generic  [OK]
Trying kernel                    3.0.18-030018-generic  [OK]
Trying kernel                  2.6.39-02063904-generic  [OK]
Trying kernel                  2.6.38-02063808-generic  [OK]
Trying kernel                  2.6.37-02063706-generic  [OK]
Trying kernel                  2.6.36-02063604-generic  [OK]
Trying kernel                  2.6.35-02063512-generic  [OK]
Trying kernel                  2.6.34-02063410-generic  [OK]
Trying kernel                  2.6.33-02063305-generic  [OK]
Trying kernel                  2.6.32-02063255-generic  [OK]
Trying kernel                  2.6.31-02063113-generic  [OK]
Trying kernel                  2.6.30-02063010-generic  [OK]
Trying kernel                  2.6.29-02062906-generic  [OK]
Trying kernel                  2.6.28-02062810-generic  [OK]
Trying kernel                    2.6.27-020627-generic  [OK]
Trying kernel                    2.6.26-020626-generic  [OK]
Trying kernel                    2.6.25-020625-generic  [OK]
Trying kernel                    2.6.24-020624-generic  [OK]

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
8 years agocompat: add FQ CoDel code from upstream
Luis R. Rodriguez [Fri, 25 May 2012 00:57:17 +0000 (17:57 -0700)]
compat: add FQ CoDel code from upstream

This is taken from next-20120524. This does not yet
add any backport code to it, not have we integrated
it into the build system. The backport work will be
done next to make the changes more easily visible to
reviewers.

This also adds flow_dissector.c from net/core/ as well,
but we'll backport any changes required next.

Just to be sure, here's the ckmake log:

mcgrof@tux ~/compat (git::master)$ ckmake
Trying kernel                  3.4.0-030400rc1-generic  [OK]
Trying kernel                     3.3.7-030307-generic  [OK]
Trying kernel                     3.2.2-030202-generic  [OK]
Trying kernel                    3.1.10-030110-generic  [OK]
Trying kernel                    3.0.18-030018-generic  [OK]
Trying kernel                  2.6.39-02063904-generic  [OK]
Trying kernel                  2.6.38-02063808-generic  [OK]
Trying kernel                  2.6.37-02063706-generic  [OK]
Trying kernel                  2.6.36-02063604-generic  [OK]
Trying kernel                  2.6.35-02063512-generic  [OK]
Trying kernel                  2.6.34-02063410-generic  [OK]
Trying kernel                  2.6.33-02063305-generic  [OK]
Trying kernel                  2.6.32-02063255-generic  [OK]
Trying kernel                  2.6.31-02063113-generic  [OK]
Trying kernel                  2.6.30-02063010-generic  [OK]
Trying kernel                  2.6.29-02062906-generic  [OK]
Trying kernel                  2.6.28-02062810-generic  [OK]
Trying kernel                    2.6.27-020627-generic  [OK]
Trying kernel                    2.6.26-020626-generic  [OK]
Trying kernel                    2.6.25-020625-generic  [OK]
Trying kernel                    2.6.24-020624-generic  [OK]

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
8 years agocompat: backport CoDel support down to 2.6.25
Luis R. Rodriguez [Fri, 25 May 2012 00:33:39 +0000 (17:33 -0700)]
compat: backport CoDel support down to 2.6.25

This is available as a module called sch_codel.
For details on CoDel see:

http://lwn.net/Articles/496509/

This goes only compile tested against all the below kernels,
run time test results would be appreciated.

mcgrof@tux ~/compat (git::master)$ ckmake
Trying kernel                  3.4.0-030400rc1-generic  [OK]
Trying kernel                     3.3.7-030307-generic  [OK]
Trying kernel                     3.2.2-030202-generic  [OK]
Trying kernel                    3.1.10-030110-generic  [OK]
Trying kernel                    3.0.18-030018-generic  [OK]
Trying kernel                  2.6.39-02063904-generic  [OK]
Trying kernel                  2.6.38-02063808-generic  [OK]
Trying kernel                  2.6.37-02063706-generic  [OK]
Trying kernel                  2.6.36-02063604-generic  [OK]
Trying kernel                  2.6.35-02063512-generic  [OK]
Trying kernel                  2.6.34-02063410-generic  [OK]
Trying kernel                  2.6.33-02063305-generic  [OK]
Trying kernel                  2.6.32-02063255-generic  [OK]
Trying kernel                  2.6.31-02063113-generic  [OK]
Trying kernel                  2.6.30-02063010-generic  [OK]
Trying kernel                  2.6.29-02062906-generic  [OK]
Trying kernel                  2.6.28-02062810-generic  [OK]
Trying kernel                    2.6.27-020627-generic  [OK]
Trying kernel                    2.6.26-020626-generic  [OK]
Trying kernel                    2.6.25-020625-generic  [OK]
Trying kernel                    2.6.24-020624-generic  [OK]

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
8 years agocompat: add CoDel upstream code
Luis R. Rodriguez [Fri, 25 May 2012 00:31:17 +0000 (17:31 -0700)]
compat: add CoDel upstream code

This just drags in the code and dumps it in place, without
adding it to the build system. We'll add backport support next
to make the changes required more easily visible to reviewers.

Just to be sure, here's the ckmake log result:

mcgrof@tux ~/compat (git::master)$ ckmake
Trying kernel                  3.4.0-030400rc1-generic  [OK]
Trying kernel                     3.3.7-030307-generic  [OK]
Trying kernel                     3.2.2-030202-generic  [OK]
Trying kernel                    3.1.10-030110-generic  [OK]
Trying kernel                    3.0.18-030018-generic  [OK]
Trying kernel                  2.6.39-02063904-generic  [OK]
Trying kernel                  2.6.38-02063808-generic  [OK]
Trying kernel                  2.6.37-02063706-generic  [OK]
Trying kernel                  2.6.36-02063604-generic  [OK]
Trying kernel                  2.6.35-02063512-generic  [OK]
Trying kernel                  2.6.34-02063410-generic  [OK]
Trying kernel                  2.6.33-02063305-generic  [OK]
Trying kernel                  2.6.32-02063255-generic  [OK]
Trying kernel                  2.6.31-02063113-generic  [OK]
Trying kernel                  2.6.30-02063010-generic  [OK]
Trying kernel                  2.6.29-02062906-generic  [OK]
Trying kernel                  2.6.28-02062810-generic  [OK]
Trying kernel                    2.6.27-020627-generic  [OK]
Trying kernel                    2.6.26-020626-generic  [OK]
Trying kernel                    2.6.25-020625-generic  [OK]
Trying kernel                    2.6.24-020624-generic  [OK]

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
8 years agocompat: rename compat-3.5.c to compat-3.4.c
Felix Fietkau [Thu, 24 May 2012 13:29:28 +0000 (15:29 +0200)]
compat: rename compat-3.5.c to compat-3.4.c

It only contains simple_open, which is already available on Linux 3.4.
Fixes duplicate symbol issues on 3.4

mcgrof@tux ~/compat (git::master)$ ckmake
Trying kernel                  3.4.0-030400rc1-generic  [OK]
Trying kernel                     3.3.7-030307-generic  [OK]
Trying kernel                     3.2.2-030202-generic  [OK]
Trying kernel                    3.1.10-030110-generic  [OK]
Trying kernel                    3.0.18-030018-generic  [OK]
Trying kernel                  2.6.39-02063904-generic  [OK]
Trying kernel                  2.6.38-02063808-generic  [OK]
Trying kernel                  2.6.37-02063706-generic  [OK]
Trying kernel                  2.6.36-02063604-generic  [OK]
Trying kernel                  2.6.35-02063512-generic  [OK]
Trying kernel                  2.6.34-02063410-generic  [OK]
Trying kernel                  2.6.33-02063305-generic  [OK]
Trying kernel                  2.6.32-02063255-generic  [OK]
Trying kernel                  2.6.31-02063113-generic  [OK]
Trying kernel                  2.6.30-02063010-generic  [OK]
Trying kernel                  2.6.29-02062906-generic  [OK]
Trying kernel                  2.6.28-02062810-generic  [OK]
Trying kernel                    2.6.27-020627-generic  [OK]
Trying kernel                    2.6.26-020626-generic  [OK]
Trying kernel                    2.6.25-020625-generic  [OK]
Trying kernel                    2.6.24-020624-generic  [OK]

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
8 years agocompat: backport task_cpus_allowed() <= 2.6.32
Mike Marciniszyn [Mon, 21 May 2012 13:01:14 +0000 (09:01 -0400)]
compat: backport task_cpus_allowed() <= 2.6.32

Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>