aboutsummaryrefslogtreecommitdiffstats
path: root/unmodified_drivers/linux-2.6/compat-include
Commit message (Collapse)AuthorAgeFilesLines
* unmodified_drivers: __devinit was removed in linux-3.8Olaf Hering2013-02-121-1/+10
| | | | | | | | | Signed-off-by: Olaf Hering <olaf@aepfle.de> Merge with __init handling. Signed-off-by: Jan Beulich <jbeulich@suse.com> Committed-by: Jan Beulich <jbeulich@suse.com>
* unmodified drivers: use upstream sync_bitops if availableJan Beulich2012-03-161-0/+10
| | | | | | | | | | The forward ported xenlinux sources in openSuSE 12.2 were switched from the old synch_bitops to the sync_bitops since kernel version 3.3. Add compat macros to use either old or new helpers depending on used kernel source version. Signed-off-by: Jan Beulich <jbeulich@suse.com> Signed-off-by: Olaf Hering <olaf@aepfle.de>
* PV-on-HVM: Define atomic_cmpxchg() for old Linux kernels.Keir Fraser2009-05-261-0/+4
| | | | Signed-off-by: KUWAMURA Shin'ya <kuwa@jp.fujitsu.com>
* PV-on-HVM: Add a compatibility linux/scatterlist.h for kernels before 2.6.12Keir Fraser2009-03-121-0/+10
| | | | Signed-off-by: KUWAMURA Shin'ya <kuwa@jp.fujitsu.com>
* pv-on-hvm: fix for Centos 5.2Keir Fraser2008-12-091-0/+2
| | | | | From: Yoshisato YANAGISAWA <yanagisawa.yoshisato@lab.ntt.co.jp> Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* PV-on-HVM: Fix build for RHEL/SLES.Keir Fraser2007-12-051-0/+15
| | | | Signed-off-by: Ben Guthro <bguthro@virtualiron.com>
* PV-on-HVM: Define BLOCKING_NOTIFIER_HEAD macro for old Linux kernels.Keir Fraser2007-11-011-1/+8
| | | | Signed-off-by: KUWAMURA Shin'ya <kuwa@jp.fujitsu.com>
* pv-on-hvm: fixes for unmodified drivers build and modern LinuxKeir Fraser2007-10-251-0/+8
| | | | | | | | | | | | | | | | | | - The adjustments to README and overrides.mk are generic. - The removal of explicit linux/config.h inclusion should also not cause any issues. - The introduction of irq_handler_t should eliminiate warnings on 2.6.19+ kernels (I didn't check they're there, but since the request_irq prototype changed, I'm sure there's at least one. However, as a result changes to the Linux tree are expected to be required. - The change setup_xen_features -> xen_setup_features follows the naming in mainline 2.6.23 but would apparently also require changes to the Linux tree. - The changes SA_* -> IRQF_ and pci_module_init -> pci_register_driver should also not cause issues. Signed-off-by: Jan Beulich <jbeulich@novell.com>
* PV-on-HVM: Define DEFINE_RWLOCK() macro for older Linux kernels.kfraser@localhost.localdomain2007-08-301-0/+9
| | | | Signed-off-by: Ben Guthro <bguthro@virtualron.com>
* PV-on-HVML: Remove extra parentheses in netif_tx_lock_bh and netif_tx_unlock_bhkfraser@localhost.localdomain2007-08-301-2/+2
| | | | | | macros, as it caused problems when compiling against a SLES9 tree. Signed-off-by: Ben Guthro <bguthro@virtualiron.com>
* Fix PV-on-HVM driver build.kfraser@localhost.localdomain2007-07-121-0/+9
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* PV-on-HVM: Fix 64-bit build.kfraser@localhost.localdomain2007-04-121-3/+2
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* PV-on-HVM: A bit more re-jigging so the build gets further againstKeir Fraser2007-04-061-0/+4
| | | | | native Linux 2.6.5. It's not quite there still, but closer. Signed-off-by: Keir Fraser <keir@xensource.com>
* LINUX: PVonHVM: Fixes to build with kernels back to 2.6.5.Ian Campbell2007-04-051-1/+13
| | | | Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* Various cleanups and fixes for PV-on-HVM drivers.Keir Fraser2007-04-041-0/+8
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* Cleanups for unmodified (pv-on-hvm) driver building.kaf24@localhost.localdomain2007-01-261-3/+7
| | | | | | | | | | - some cleanup to mkbuildtree - adjustment to the fake __supported_pte_mask definition (removing the export for x86-64 in native Linux is being discussed, so this shouldn't be i386 specific) - remove odd/unused defines (mostly CONFIG_*) in overrides.mk Signed-off-by: Jan Beulich <jbeulich@novell.com>
* [PV-on-HVM] Make PV drivers on HVM kernels work on older kernels afterIan Campbell2007-01-221-0/+11
| | | | | | update to 2.6.18. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* [LINUX] Import kasprintf patch from upstream.Ian Campbell2006-11-271-0/+5
| | | | | | | kasprintf has been merged upstream with a slightly different protoype to the one in Xen. Import this patch and fixup the Xen tree to fit. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* PV-on-HVM: Fix PV-on-HVM drivers for IA64.Ian Campbell2006-11-022-0/+16
| | | | | | Thanks to Kasai Takanori and Doi Tsunehisa for testing. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* PV-to-HVM: Add a compatibility define for the end_that_request_lastIan Campbell2006-10-251-0/+4
| | | | | | | | which changed prototype in 2.6.16. Signed-off-by: Ian Campbell <ian.campbell@xensource.com> Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com> Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
* PV-on-HVM: Include compatibility kzalloc implementation for kernelsIan Campbell2006-10-251-0/+4
| | | | | | | | before 2.6.14. Signed-off-by: Ian Campbell <ian.campbell@xensource.com> Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com> Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
* PV-to-HVM: Impletement compatibility version ofIan Campbell2006-10-251-0/+4
| | | | | | | | schedule_timeout_interruptible for kernels before 2.6.14 Signed-off-by: Ian Campbell <ian.campbell@xensource.com> Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com> Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
* PV-on-HVM: Implement compatibilty version of wait_for_completion_timeoutIan Campbell2006-10-251-0/+4
| | | | | | for kernels before 2.6.11 Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* PV-on-HVM: Include compatability vmalloc_to_pfn for kernels before 2.6.10Ian Campbell2006-10-251-0/+4
| | | | | | Signed-off-by: Ian Campbell <ian.campbell@xensource.com> Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com> Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
* PV-to-HVM: Implement compatibility nonseekable_open as a nop onIan Campbell2006-10-251-0/+4
| | | | | | kernels before 2.6.9 Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* PV-to-HVM: Add compatibility definitions of various #defines when theyIan Campbell2006-10-251-0/+22
| | | | | | | | are not present in the kernel we are building against. Signed-off-by: Ian Campbell <ian.campbell@xensource.com> Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com> Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
* PV-on-HVM: Include compatability headers for asm/pgtable-no{pmd,pud}.hIan Campbell2006-10-252-0/+28
| | | | | | | | for kernels before 2.6.11. Signed-off-by: Ian Campbell <ian.campbell@xensource.com> Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com> Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
* PV-on-HVM: Add a compatibility linux/mutex.h for kernels beforeIan Campbell2006-10-251-0/+31
| | | | | | | | | 2.6.16. This implements the new mutex type in terms of the old semaphore type. Signed-off-by: Ian Campbell <ian.campbell@xensource.com> Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com> Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
* PV-on-HVM: Add a compatibility linux/io.h for kernels before 2.6.16Ian Campbell2006-10-251-0/+10
| | | | | | Signed-off-by: Ian Campbell <ian.campbell@xensource.com> Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com> Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
* PV-on-HVM: Add infrastructure for a compatibility shim in order toIan Campbell2006-10-251-0/+6
support PV-on-HVM drivers for older kernel releases. The compatability code is included in the xen-platform-pci module since this module underpins all the others. Signed-off-by: Ian Campbell <ian.campbell@xensource.com> Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com> Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>