[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [linux-2.6.18-xen] [IA64] Fix __ioremap() paravirtualization.
# HG changeset patch # User Alex Williamson <alex.williamson@xxxxxx> # Date 1187903920 21600 # Node ID 057b47cada5c42a934c320f95863af2a6f031522 # Parent ec6f71d1b3351faebbfb0345ca0ccfc3a52b5d7c [IA64] Fix __ioremap() paravirtualization. __ioremap() should return NULL when error. Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx> --- arch/ia64/mm/ioremap.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r ec6f71d1b335 -r 057b47cada5c arch/ia64/mm/ioremap.c --- a/arch/ia64/mm/ioremap.c Wed Aug 22 08:09:20 2007 -0600 +++ b/arch/ia64/mm/ioremap.c Thu Aug 23 15:18:40 2007 -0600 @@ -18,7 +18,7 @@ __ioremap (unsigned long offset, unsigne { offset = HYPERVISOR_ioremap(offset, size); if (IS_ERR_VALUE(offset)) - return (void __iomem*)offset; + return NULL; return (void __iomem *) (__IA64_UNCACHED_OFFSET | offset); } _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |