]> git.proxmox.com Git - mirror_zfs.git/commit
Check for changed gaurd macro in 2.6.28+ for rwsem implementation.
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 17 Dec 2009 19:57:44 +0000 (11:57 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 17 Dec 2009 19:57:44 +0000 (11:57 -0800)
commit3a03ce5cbf61def830905dfab0f43d5b6074f921
treec190b0f5e0f51ca1fbf470d33480b724a903b777
parent242f539a2ea886769a6408192a6a263fb2a45eaf
Check for changed gaurd macro in 2.6.28+ for rwsem implementation.

As part of the 2.6.28 cleanup which moved all the linux/include/asm/
headers in to linux/arch, the guard headers for many header files
changed.  The i386 rwsem implementation keys off this header to
ensure the internal members of the rwsem structure are interpreted
correctly.  This change checks for the new guard macro in addition
to the only one, the implementation of the rwsem has not changed
for i386 so this is safe and correct.
include/sys/rwlock.h