backports: remove DMI_EXACT_MATCH

Upstream commit: d04af61615445fc409758eaeaa90abd0b45c9fad

DMI_EXACT_MATCH was only used by the Intel gpu driver which was removed.
Kernel 3.10.21 also has DMI_EXACT_MATCH which collides with backports
definition.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
backports: add missing include for linux/of.h

Upstream commit: a9081420811be2a9c7386b4693c5cf1b93b3ae23

This fixes a compile error with some config options.
Closes bug: https://bugzilla.kernel.org/show_bug.cgi?id=66601

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Reported-by: Richard Röjfors <richard.rojfors@gmail.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
backports: add LINUX_BACKPORT infront of functions

Upstream commit: 3f8c0a7df40f574eb20ecd79fb7fbd7b60bb66d5

This is needed to add support for SLES 11 SP3 support.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
backports: remove unused workqueue backports

Upstream commit: 185e78bad33c73f26b817b50ccf05b1ffac5d446

These backports are not used by any driver code and some of them are
conflicting with code from RHEL 6.5 headers.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
backports: so not add netdev_features_t on RHEL 6.5

Upstream commit: 844a6a0893c6753b7760090539db1bfb5c80e7f0

RHEL 6.5 already contains netdev_features_t which will collide with
backports definition.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
backports: add missing LINUX_BACKPORT() on various places

Upstream commit: c42ee127c76d3c7815616076879fdd721cb07328

This fixes lots of compile problems on RHEL 6.5.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
backports: fix skb_add_rx_fragi() for SLES 11 SP3

Upstream commit: c8f2587ebc13e4f1b23fc4b6626543cb15e423e0

SLES 11 SP3 backported skb_add_rx_frag() with 6 arguments and we have
to use that function with the truesize parameter. This removes the
define for SLES 11 SP3 like it is done for RHEL.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
backports: do not call dev_hw_addr_random()

Upstream commit: e6fbe86841f22eac08bae49caa40b7e07a17722d

SLES 11 SP3 does not have dev_hw_addr_random() so this patch includes
the stuff which would be done in dev_hw_addr_random() in
eth_hw_addr_random().

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
backports: add prefix infront of led_blink_set()

Upstream commit: 8f6ed7f51ca39e1ca4b3850b52120dc39585f4fe

led_blink_set is also exported by the RedHat 6.5 kernel and collides
with backports when loading the compat.ko module. This fixes the
problem by prefixing the symbol.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
backports: add missing include

Upstream commit: df310704d3d5da44a99d8dd199d41cefcba0443f

A user reported that the linux/mm.h header was missing on his mips
device with kernel 2.6.26.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
gentree: create *.tar.gz instead of *.tar.bz for kernel.org

Upstream commit: e7ff81f2d7ff55bef128c0eacdc43f16080ec8a0

kernel.org does not support bzip2 any more, use gzip instead.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
backports: adapt to changes in netdev select_queue call

Upstream commit: 47dbfec644de5621a7d7211a557005e31e3288a5

This patch reverts the changes done in the following commit for older
kernel versions:
commit f663dd9aaf9ed124f25f0f8452edf238f087ad50
Author: Jason Wang <jasowang@redhat.com>
Date:   Fri Jan 10 16:18:26 2014 +0800

    net: core: explicitly select a txq before doing l2 forwarding

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
CC: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
backports: fix led_trigger warning with old kernel versions

Upstream commit: e16514c910f331700139a86a7c71e3242333c53b

This fixes the following warning:

/drivers/net/wireless/at76c50x-usb.c: In function ‘at76_mod_init’:
/drivers/net/wireless/at76c50x-usb.c:2472:2: warning: passing argument 2 of ‘led_trigger_register_simple’ from incompatible pointer type [enabled by default]
  led_trigger_register_simple("at76_usb-tx", &ledtrig_tx);
  ^
In file included from /backport-include/linux/leds.h:3:0,
                 from /drivers/net/wireless/at76c50x-usb.c:45:
include/linux/leds.h:97:13: note: expected ‘struct led_trigger **’ but argument is of type ‘struct backport_led_trigger **’
 extern void led_trigger_register_simple(const char *name,
             ^
/drivers/net/wireless/at76c50x-usb.c: In function ‘at76_mod_exit’:
/drivers/net/wireless/at76c50x-usb.c:2484:2: warning: passing argument 1 of ‘led_trigger_unregister_simple’ from incompatible pointer type [enabled by default]
  led_trigger_unregister_simple(ledtrig_tx);
  ^
In file included from /backport-include/linux/leds.h:3:0,
                 from /drivers/net/wireless/at76c50x-usb.c:45:
include/linux/leds.h:99:13: note: expected ‘struct led_trigger *’ but argument is of type ‘struct backport_led_trigger *’
 extern void led_trigger_unregister_simple(struct led_trigger *trigger);
             ^

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
backports: Samsung drivers should depend on recent kernel

The Samsung regulator drivers are using a new struct member.
This fixes this compile error:

/drivers/regulator/s2mps11.c: In function ‘s2mps11_pmic_probe’:
/drivers/regulator/s2mps11.c:441:23: error: ‘struct sec_pmic_dev’ has no member named ‘regmap_pmic’
make[6]: *** [/home/hauke/compat-wireless/tmp/drivers/regulator/s2mps11.o] Error 1
make[5]: *** [/home/hauke/compat-wireless/tmp/drivers/regulator] Error 2

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
backports: refresh on v3.13-rc8

1   2.6.25              [  OK  ]
2   2.6.26              [  OK  ]
3   2.6.27              [  OK  ]
4   2.6.28              [  OK  ]
5   2.6.29              [  OK  ]
6   2.6.30              [  OK  ]
7   2.6.31              [  OK  ]
8   2.6.32              [  OK  ]
9   2.6.33              [  OK  ]
10  2.6.34              [  OK  ]
11  2.6.35              [  OK  ]
12  2.6.36              [  OK  ]
13  2.6.37              [  OK  ]
14  2.6.38              [  OK  ]
15  2.6.39              [  OK  ]
16  3.0.101             [  OK  ]
17  3.1.10              [  OK  ]
18  3.2.54              [  OK  ]
19  3.3.8               [  OK  ]
20  3.4.77              [  OK  ]
21  3.5.7               [  OK  ]
22  3.6.11              [  OK  ]
23  3.7.10              [  OK  ]
24  3.8.13              [  OK  ]
25  3.9.11              [  OK  ]
26  3.10.27             [  OK  ]
27  3.11.10             [  OK  ]
28  3.12.8              [  OK  ]
29  3.13-rc8            [  OK  ]

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>