[kernel] Linux v3.13-rc7

Josh Boyer jwboyer at fedoraproject.org
Sun Jan 5 16:16:52 UTC 2014


commit 1dfaa2483560ba82435595e438b9c7f000d5fe5b
Author: Josh Boyer <jwboyer at redhat.com>
Date:   Sun Jan 5 11:16:51 2014 -0500

    Linux v3.13-rc7
    
    - Fix xen-netback build failure on ARM

 kernel.spec                                  |    5 ++++
 xen-netback-Include-header-for-vmalloc.patch |   30 ++++++++++++++++++++++++++
 2 files changed, 35 insertions(+), 0 deletions(-)
---
diff --git a/kernel.spec b/kernel.spec
index 99aed4a..9375b45 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -713,6 +713,8 @@ Patch25168: rpc_pipe-fix-cleanup-of-dummy-gssd-directory-when-notification-fails
 #rhbz 1030802
 Patch25171: elantech-Properly-differentiate-between-clickpads-an.patch
 
+Patch25172: xen-netback-Include-header-for-vmalloc.patch
+
 # END OF PATCH DEFINITIONS
 
 %endif
@@ -1389,6 +1391,8 @@ ApplyPatch rpc_pipe-fix-cleanup-of-dummy-gssd-directory-when-notification-fails.
 #rhbz 1030802
 ApplyPatch elantech-Properly-differentiate-between-clickpads-an.patch
 
+ApplyPatch xen-netback-Include-header-for-vmalloc.patch
+
 # END OF PATCH APPLICATIONS
 
 %endif
@@ -2205,6 +2209,7 @@ fi
 %changelog
 * Sun Jan 05 2014 Josh Boyer <jwboyer at fedoraproject.org> - 3.13-0.0.rc7.git0.1
 - Linux v3.13-rc7
+- Fix xen-netback build failure on ARM
 
 * Mon Dec 30 2013 Josh Boyer <jwboyer at fedoraproject.org> - 3.13.0-0.rc6.git0.1
 - Linux v3.13-rc6
diff --git a/xen-netback-Include-header-for-vmalloc.patch b/xen-netback-Include-header-for-vmalloc.patch
new file mode 100644
index 0000000..55b6cc3
--- /dev/null
+++ b/xen-netback-Include-header-for-vmalloc.patch
@@ -0,0 +1,30 @@
+From 46da818ba960d637a1f618a4076b53b8859dbcb7 Mon Sep 17 00:00:00 2001
+From: Josh Boyer <jwboyer at fedoraproject.org>
+Date: Sun, 5 Jan 2014 10:15:07 -0500
+Subject: [PATCH] xen-netback: Include header for vmalloc
+
+Commit ac3d5ac27735 ("xen-netback: fix guest-receive-side array sizes")
+added calls to vmalloc and vfree in the interface.c file without including
+<linux/vmalloc.h>.  This causes build failures if the
+-Werror=implicit-function-declaration flag is passed.
+
+Signed-off-by: Josh Boyer <jwboyer at fedoraproject.org>
+---
+ drivers/net/xen-netback/interface.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/drivers/net/xen-netback/interface.c b/drivers/net/xen-netback/interface.c
+index 34ca4e5..fff8cdd 100644
+--- a/drivers/net/xen-netback/interface.c
++++ b/drivers/net/xen-netback/interface.c
+@@ -34,6 +34,7 @@
+ #include <linux/ethtool.h>
+ #include <linux/rtnetlink.h>
+ #include <linux/if_vlan.h>
++#include <linux/vmalloc.h>
+ 
+ #include <xen/events.h>
+ #include <asm/xen/hypercall.h>
+-- 
+1.8.4.2
+


More information about the scm-commits mailing list