summaryrefslogtreecommitdiff
path: root/backport
AgeCommit message (Collapse)Author
2013-11-21backports: remove swiotlb_nr_tbl()v3.12.1-1Hauke Mehrtens
Upstream commit 582829f7d8c136730ee9f5e1d90d4d157b93602b This is not used anywhere. The Debian Wheezy kernel also includes this function and it conflicted with backports version. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-11-07backports: do not add debugfs_create_x64() on RHEL 6.4v3.12-1Hauke Mehrtens
Upstream commit: a00d7b07a89d1bb0b6c9a51bfec4e53a76940bb3 debugfs_create_x64() is provided by the RHEL 6.4 kernel and should not be added to the build on such a kernel. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-10-23backports: tcf_destroy_chain takes a normal pointer on <= 2.6.25Hauke Mehrtens
This caused a compile warning and probably runtime errors in sch_fq_codel_core.c Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-10-23backports: struct tty_port was added with kernel 2.6.28Hauke Mehrtens
The functions will only build for kernel version < 3.10 and >= 2.6.28, so the same with the prototype. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-10-23backports: add eth_hw_addr_inherit()Hauke Mehrtens
This is needed by drivers/net/wireless/libertas/mesh.c Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-10-23backports: remove vga_switcheroo.hHauke Mehrtens
This only used by the DRM drivers Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-10-23backports: remove linux/pagemap.hHauke Mehrtens
This was just used by some GPU drivers Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-10-23backports: remove pci_platform_rom()Hauke Mehrtens
This was only used by the DRM drivers Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-10-23backports: remove shmem_read_mapping_page_gfp()Hauke Mehrtens
This was only needed for some of the DRM drivers, remove it. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-10-23backports: remove cpufreq_quick_get_max()Hauke Mehrtens
This was only needed for some of the DRM drivers, remove it. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-10-23backports: remove i2c_bit_algo()Hauke Mehrtens
This was only needed for some of the DRM drivers, remove it. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-10-23backports: remove compat_wake_up_locked()Hauke Mehrtens
This was only needed for some of the DRM drivers, remove it. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-10-23backports: remove devm_regmap_init_spi()Hauke Mehrtens
This is not used by any code in backports, not even a DRM driver. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-10-23backports: remove ktime_get_monotonic_offset()Hauke Mehrtens
This was only needed for some of the DRM drivers, remove it. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-10-23backports: remove scatterlistHauke Mehrtens
This was only needed for some of the DRM drivers, remove it. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-10-23backports: remove some stuff related to MTRRHauke Mehrtens
This was only needed for some of the DRM drivers, remove it. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-10-23backports: remove more hdmi stuffHauke Mehrtens
This was only needed for some of the DRM drivers, remove it. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-10-23backports: remove BACKPORT_BUILD_HDMIHauke Mehrtens
This was only needed for some of the DRM drivers, remove it. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-10-23backports: remove BACKPORT_BUILD_RADIX_HELPERSHauke Mehrtens
This was only needed for some of the DRM drivers, remove it. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-10-23backports: remove CPTCFG_BACKPORT_BUILD_WW_MUTEXHauke Mehrtens
This was only needed for some of the DRM drivers, remove it. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-10-23backports: remove BACKPORT_BUILD_CROSS_RESERVATIONHauke Mehrtens
This was only needed for some of the DRM drivers, remove it. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-10-23backports: remove platform driversHauke Mehrtens
The platform drivers were only needed by some DRM drivers and are not needed any more with the DRM driver being removed. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-10-23backports: remove DRM driverHauke Mehrtens
Maintaining the DRM driver takes a lot of recourses as there they are depending on many API changes done to the core kernel code and currently we do not have that many recourses to follow them. On the other side one needs also new userspace drivers to make use of the new features added to the DRM kernel drivers and it is not easy to update the X drivers. Therefore we came to the conclusion to remove the drm drivers for now. There were also some problems with some DRM drivers, like the Intel i915 driver caused kernel panic on some systems and was probably only usable on some very recent kernel versions. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-10-21backports: add tty_port_tty_hangup()Hauke Mehrtens
This is needed by ./net/bluetooth/rfcomm/tty.c Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-10-21backports: add tty_port_tty_wakeup()Hauke Mehrtens
This is needed by ./net/bluetooth/rfcomm/tty.c Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-10-21backports: add DEVICE_ATTR_RWHauke Mehrtens
This is used by drivers/media/v4l2-core/v4l2-dev.c. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-10-21backports: add debugfs_create_x64()Hauke Mehrtens
This adds debugfs_create_x64() by calling debugfs_create_u64() instead. The 64 bit number is then not hex, but dec formated in debug fs. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-10-21backports: add HDMI_INFOFRAME_SIZEHauke Mehrtens
Add the missing define. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-10-21backports: add hdmi_infoframe_pack()Hauke Mehrtens
This adds the missing function hdmi_infoframe_pack() for kernels where the HDMI subsystem is not backported, like all kernel >= 3.9. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-08-27backports: add missing returns on ww_mutex backpotsbackports-20130802Luis R. Rodriguez
Two returns were missing on the ww_mutex backport, add these. The enhancements are not supported on older kernels so just bail out early. Tested against next-20130802 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.79 [ OK ] 17 3.1.10 [ OK ] 18 3.10-rc1 [ OK ] 19 3.2.45 [ OK ] 20 3.3.8 [ OK ] 21 3.4.46 [ OK ] 22 3.5.7 [ OK ] 23 3.6.11 [ OK ] 24 3.7.10 [ OK ] 25 3.8.13 [ OK ] 26 3.9.3 [ OK ] real 34m47.935s user 938m15.592s sys 130m11.724s Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-08-27backport: simplify #ifdefs in pci-aspm.hJohannes Berg
Just use #else instead of two conditionals. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-08-27backports: add generic semaphore.hLuis R. Rodriguez
Matthew generalized the semaphore implementation and part of that collateral evolution consisted of changing the header used for the expected routines from asm/semaphore.h to linux/semaphore.h. mcgrof@garbanzo ~/linux-next (git::master)$ git describe --contains \ 64ac24e738823161693bf791f87adc802cf529ff v2.6.26-rc1~1155^2~5 commit 64ac24e738823161693bf791f87adc802cf529ff Author: Matthew Wilcox <matthew@wil.cx> Date: Fri Mar 7 21:55:58 2008 -0500 Generic semaphore implementation Semaphores are no longer performance-critical, so a generic C implementation is better for maintainability, debuggability and extensibility. Thanks to Peter Zijlstra for fixing the lockdep warning. Thanks to Harvey Harrison for pointing out that the unlikely() was unnecessary. Signed-off-by: Matthew Wilcox <willy@linux.intel.com> Acked-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-08-27backports: fix compilation for 2.6.25 for math64 headerLuis R. Rodriguez
We need to ifdef correctly before assuming we can include that header. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-08-27backports: do not depend on PCI functions when PCI is disabled in the kernelHauke Mehrtens
This should prevent some compile errors when backports is used with a kernel without PCI support. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-08-27backports: fix typo in defineHauke Mehrtens
This fixes a build error one some non x86 systems. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-08-27remove support for kernel 2.6.24Johannes Berg
By requiring 2.6.25 we can get rid of quite a lot of backport work. 2.6.25 was released more than five years ago (April 2011) and wasn't a long-term kernel either, so there's little point in supporting it now. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-08-27backport: backport device_move() properlyJohannes Berg
This was causing conflicts again when updating against wireless-next, so instead of adjusting the patches just provide a proper static inline backport. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-08-27backports: Actually export the 2.6.34 sdio compat symbolsSolomon Peachy
sdio_get_host_pm_caps() and sdio_set_host_pm_flags() were defined in compat-2.6.34 but not actually exported for other modules to use. The cw1200 driver needs sdio_set_host_pm_flags() properly exported. Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-08-27backports: fix conflict in swiotlb_nr_tbl() on RHEL 6.4Hauke Mehrtens
The RedHat kernel also provides a implementation for swiotlb_nr_tbl(), us that one on these kernels. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-08-27backports: USB_SPEED_SUPER was added in 2.6.31Hauke Mehrtens
Now usbnet.c uses it and fails on kernel 2.6.30 without this patch. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-08-27backports: add defconfig for cw1200Hauke Mehrtens
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-08-27backports: add some new regulator drivers to default configHauke Mehrtens
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-08-27backports: backport sysfs api in wirelessHauke Mehrtens
Older kernel versions do not support the new sysfs api with dev_groups. This makes net/wireless/sysfs.c use the old api on older kernels. This is a backport of this commit: commit f0bc99c84349ce87af5b35839d19bfb17bb9b27f Author: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Date: Wed Jul 24 15:05:35 2013 -0700 net: wireless: convert class code to use dev_groups This was mostly done by Johannes Berg <johannes@sipsolutions.net>. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Cc: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-08-27backports: add hid_alloc_report_buf()Hauke Mehrtens
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-08-27backports: add missing include for is_valid_ether_addr()Hauke Mehrtens
is_valid_ether_addr() is used, but the header here it is declared was not included. This fixes a problem introduced in commit: commit 521acfd92f168fc9b8b6a1cefe9a165243f3d872 Author: Patrick Ziegler <patrick.ziegler@fh-kl.de> Date: Thu Aug 15 14:40:09 2013 +0200 backports: add eth_prepare_mac_addr_change() and eth_commit_mac_addr_change() Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Cc: Patrick Ziegler <patrick.ziegler@fh-kl.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-08-27backports: usb_translate_errors() is needed for < 3.2Hauke Mehrtens
usb_translate_errors() is needed for every kernel < 3.2 and not < 2.6.39. This fixes a problem introduced in this commit: commit aee2dc1d7fd03d3900e06e88793b519e21049de0 Author: Patrick Ziegler <patrick.ziegler@fh-kl.de> Date: Thu Aug 15 14:40:20 2013 +0200 backports: add usb_translate_errors() Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Cc: Patrick Ziegler <patrick.ziegler@fh-kl.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-08-27backports: fix conditional include of arch_phys_wc_add()Hauke Mehrtens
This fixes a problem introduced in this commit: commit c871780b5afa182878884bf5ccd8df4817a2660f Author: Arik Nemtsov <arik@wizery.com> Date: Wed Aug 14 10:48:05 2013 +0300 backports: rename some mem functions to not break custom kernels Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Cc: Arik Nemtsov <arik@wizery.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-08-27backport: Add an implementation of get_random_int() for <3.10 kernels.Solomon Peachy
get_random_int() was present, but simply not exported for use in modules until 3.10. Implement it in terms of the more expensive get_random_bytes() This is needed by the cw1200 driver. Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-08-15backports: rename some mem functions to not break custom kernelsArik Nemtsov
When custom patches are cherry-picked to a kernel, some symbols exported by backports may clash with the built-in ones. Rename the backports symbols using the standard backport_ prefix to prevent that. The offending symbols were exported by the patch below: commit 2ce5c22448bb45998318267c00b5d6ef9cff3170 Author: Hauke Mehrtens <hauke@hauke-m.de> Date: Thu Jun 6 13:48:04 2013 +0200 backports: backport some memory functions Signed-off-by: Arik Nemtsov <arik@wizery.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-08-15backports: add defconfig for wwan device driversPatrick Ziegler
Signed-off-by: Patrick Ziegler <patrick.ziegler@fh-kl.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>