aboutsummaryrefslogtreecommitdiffstats
path: root/unmodified_drivers/linux-2.6/platform-pci/platform-compat.c
Commit message (Collapse)AuthorAgeFilesLines
* [LINUX] Purge include <linux/config.h>. It has been obsolete for some time now.Ian Campbell2007-02-231-1/+0
| | | | Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* [LINUX] Call ctrl_alt_del() to trigger a reboot so we benefit from theIan Campbell2007-02-131-0/+6
| | | | | | | | | generic infrastructure for cad_pid etc. Add a ctrl_alt_del() implemenation to the PV on HVM compatibility layer since ctrl_alt_del() is not exported on native kernels. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* [LINUX] Import kasprintf patch from upstream.Ian Campbell2006-11-271-0/+23
| | | | | | | 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: Include compatibility kzalloc implementation for kernelsIan Campbell2006-10-251-0/+17
| | | | | | | | 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/+9
| | | | | | | | 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 and export a compatibility version of do_exit().Ian Campbell2006-10-251-0/+15
| | | | | | | | Kernels prior to 2.6.12 did not export do_exit(). 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/+32
| | | | | | 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/+12
| | | | | | 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: Kernels prior to 2.6.8 did not export strcspn to modulesIan Campbell2006-10-251-0/+20
| | | | | | | | therefore implement our own and export it. 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: Define system_state as 1 (SYSTEM_RUNNING) on kernels priorIan Campbell2006-10-251-0/+7
| | | | | | | to 2.6.7. These kernels did not export the system_state variable to modules. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* PV-on-HVM: Add infrastructure for a compatibility shim in order toIan Campbell2006-10-251-0/+4
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>