Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE
dpdk-thunderx.7902
0003-kni-define-HAVE_TRANS_START_HELPER-for-SLE...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0003-kni-define-HAVE_TRANS_START_HELPER-for-SLES12SP3.patch of Package dpdk-thunderx.7902
From c284b14663fcaa2ab492496921a1fcb691abe764 Mon Sep 17 00:00:00 2001 From: Nirmoy Das <ndas@suse.de> Date: Tue, 18 Apr 2017 11:20:48 +0200 Subject: [PATCH] kni: define HAVE_TRANS_START_HELPER for SLES12SP3 Add support for SLES12SP3, which uses kernel 4.4, but backported features from newer kernels. Signed-off-by: Nirmoy Das <ndas@suse.de> --- lib/librte_eal/linuxapp/kni/compat.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/librte_eal/linuxapp/kni/compat.h b/lib/librte_eal/linuxapp/kni/compat.h index 78da08e..f781fd0 100644 --- a/lib/librte_eal/linuxapp/kni/compat.h +++ b/lib/librte_eal/linuxapp/kni/compat.h @@ -51,7 +51,9 @@ #define HAVE_SK_ALLOC_KERN_PARAM #endif -#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 7, 0) +#if ( LINUX_VERSION_CODE >= KERNEL_VERSION(4, 7, 0) \ + || (defined(CONFIG_SUSE_KERNEL) && \ + (LINUX_VERSION_CODE >= KERNEL_VERSION(4,4,59)))) #define HAVE_TRANS_START_HELPER #endif -- 2.12.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor