]>
Commit | Line | Data |
---|---|---|
31a033ec BB |
1 | #ifndef _SPL_SMP_COMPAT_H |
2 | #define _SPL_SMP_COMPAT_H | |
3 | ||
4 | #include <linux/smp.h> | |
5 | ||
6 | #ifdef HAVE_3ARGS_ON_EACH_CPU | |
7 | ||
8 | #define spl_on_each_cpu(func,info,wait) on_each_cpu(func,info,wait) | |
9 | ||
10 | #else | |
11 | ||
12 | #define spl_on_each_cpu(func,info,wait) on_each_cpu(func,info,0,wait) | |
13 | ||
14 | #endif /* HAVE_3ARGS_ON_EACH_CPU */ | |
15 | ||
16 | #endif /* _SPL_SMP_COMPAT_H */ |