mirror_zfs/include/linux
Ricardo M. Correia 22cd0f19b1 Fix compilation error due to undefined ACCESS_ONCE macro.
When CONFIG_DEBUG_MUTEXES is turned on in RHEL5's kernel config, the mutexes
store the owner for debugging purposes, therefore the SPL will enable
HAVE_MUTEX_OWNER. However, the SPL code uses ACCESS_ONCE() to access the
owner, and this macro is not defined in the RHEL5 kernel, therefore we define it
ourselves in include/linux/compiler_compat.h.

Signed-off-by: Ricardo M. Correia <ricardo.correia@oracle.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
2010-07-20 13:47:52 -07:00
..
bitops_compat.h Public Release Prep 2010-05-17 15:18:00 -07:00
compiler_compat.h Fix compilation error due to undefined ACCESS_ONCE macro. 2010-07-20 13:47:52 -07:00
file_compat.h Split <sys/debug.h> header 2010-07-20 13:29:35 -07:00
kallsyms_compat.h Public Release Prep 2010-05-17 15:18:00 -07:00
list_compat.h Public Release Prep 2010-05-17 15:18:00 -07:00
Makefile.in Build system and packaging (RPM support) 2009-03-09 15:56:55 -07:00
math64_compat.h Add __divdi3(), remove __udivdi3() kernel dependency 2010-07-13 16:44:02 -07:00
mm_compat.h Public Release Prep 2010-05-17 15:18:00 -07:00
module_compat.h Public Release Prep 2010-05-17 15:18:00 -07:00
mutex_compat.h Public Release Prep 2010-05-17 15:18:00 -07:00
proc_compat.h Linux-2.6.33 compat, .ctl_name removed from struct ctl_table 2010-06-30 12:49:12 -07:00
smp_compat.h Public Release Prep 2010-05-17 15:18:00 -07:00
sysctl_compat.h Public Release Prep 2010-05-17 15:18:00 -07:00
time_compat.h Public Release Prep 2010-05-17 15:18:00 -07:00
uaccess_compat.h Public Release Prep 2010-05-17 15:18:00 -07:00
workqueue_compat.h Public Release Prep 2010-05-17 15:18:00 -07:00