mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 03:01:26 +00:00
scst: Fix a RHEL 6 compiler warning
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6771 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