diff options
author | Brian Behlendorf <[email protected]> | 2009-02-02 15:12:30 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2009-02-02 15:12:30 -0800 |
commit | 31a033ecd49c2f691d6a377db2882ed941f47481 (patch) | |
tree | 4fe82ef3038f051bb02cd5e1de8333908e1da455 /spl_config.h.in | |
parent | f220894e1fc86cbfaf073dc4cca519887c41e78e (diff) |
2.6.27+ portability changes
- Added SPL_AC_3ARGS_ON_EACH_CPU configure check to determine
if the older 4 argument version of on_each_cpu() should be
used or the new 3 argument version. The retry argument was
dropped in the new API which was never used anyway.
- Updated work queue compatibility wrappers. The old way this
worked was to pass a data point when initialized the workqueue.
The new API assumed the work item is embedding in a structure
and we us container_of() to find that data pointer.
- Updated skc->skc_flags to be an unsigned long which is now
type checked in the bit operations. This silences the warnings.
- Updated autogen products and splat tests accordingly
Diffstat (limited to 'spl_config.h.in')
-rw-r--r-- | spl_config.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/spl_config.h.in b/spl_config.h.in index c19555a06..a4a8ccd32 100644 --- a/spl_config.h.in +++ b/spl_config.h.in @@ -18,6 +18,9 @@ /* INIT_WORK wants 3 args */ #undef HAVE_3ARGS_INIT_WORK +/* on_each_cpu wants 3 args */ +#undef HAVE_3ARGS_ON_EACH_CPU + /* kernel defines atomic64_t */ #undef HAVE_ATOMIC64_T |