]> git.pld-linux.org Git - packages/spl.git/blob - linux-3.18.patch
- drop non-dist kernel support
[packages/spl.git] / linux-3.18.patch
1 --- spl-0.6.3/module/spl/spl-kmem.c~    2015-01-26 00:23:23.000000000 +0100
2 +++ spl-0.6.3/module/spl/spl-kmem.c     2015-01-26 00:24:13.312560884 +0100
3 @@ -2369,7 +2369,11 @@
4  
5         spl_slab_reclaim(skc, count, 1);
6         clear_bit(KMC_BIT_REAPING, &skc->skc_flags);
7 +#if ( LINUX_VERSION_CODE < KERNEL_VERSION(3,18,0) )
8         smp_mb__after_clear_bit();
9 +#else
10 +       smp_mb__after_atomic();
11 +#endif
12         wake_up_bit(&skc->skc_flags, KMC_BIT_REAPING);
13  out:
14         atomic_dec(&skc->skc_ref);
This page took 0.067833 seconds and 3 git commands to generate.