]> git.proxmox.com Git - mirror_spl.git/commit
Fix HAVE_FS_STRUCT_SPINLOCK check for gcc-4.1.2
authorBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 19 Sep 2011 20:35:03 +0000 (13:35 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 19 Sep 2011 20:45:08 +0000 (13:45 -0700)
commit97fd6a07c2c2fd1d27fc79938eb1a451c92fbfc4
tree8d8afb547e2cd16384849a56579092db802769fb
parentc064bdee95583102e216354bbdece4818d59b644
Fix HAVE_FS_STRUCT_SPINLOCK check for gcc-4.1.2

Older versions of gcc (gcc-4.1.2) will treat an 'incompatible
pointer type' as a warning instead of an error.  This results
in HAVE_FS_STRUCT_SPINLOCK being defined incorrectly.  This
failure mode was observed when using a RHEL6 2.6.32 based kernel
under RHEL5.5 which contains the old version of gcc.  To resolve
the issue the warning is explicitly promoted to an error.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
config/spl-build.m4
configure