mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-20 04:01:26 +00:00
Merged revisions 6771 via svnmerge from
svn+ssh://svn.code.sf.net/p/scst/svn/trunk ........ r6771 | bvassche | 2015-12-18 13:11:18 +0100 (Fri, 18 Dec 2015) | 1 line scst: Fix a RHEL 6 compiler warning ........ git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6772 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -367,7 +367,7 @@ int no_printk(const char *s, ...) { return 0; }
|
||||
|
||||
/* <linux/rcupdate.h> */
|
||||
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 0, 0)
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 0, 0) && !defined(kfree_rcu)
|
||||
typedef void (*rcu_callback_t)(struct rcu_head *);
|
||||
#define __is_kfree_rcu_offset(offset) ((offset) < 4096)
|
||||
#define kfree_call_rcu(head, rcb) call_rcu(head, rcb)
|
||||
|
||||
Reference in New Issue
Block a user