]> git.proxmox.com Git - mirror_spl.git/commit - config/spl-build.m4
2.6.27+ portability changes
authorBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 2 Feb 2009 23:12:30 +0000 (15:12 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 2 Feb 2009 23:12:30 +0000 (15:12 -0800)
commit31a033ecd49c2f691d6a377db2882ed941f47481
tree4fe82ef3038f051bb02cd5e1de8333908e1da455
parentf220894e1fc86cbfaf073dc4cca519887c41e78e
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
config/spl-build.m4
configure
configure.ac
include/linux/smp_compat.h [new file with mode: 0644]
include/linux/workqueue_compat.h [new file with mode: 0644]
include/sys/kmem.h
include/sys/types.h
include/sys/workqueue.h [deleted file]
module/spl/spl-kmem.c
module/splat/splat-mutex.c
spl_config.h.in