]> sourceware.org Git - systemtap.git/commit
Remove a direct include of rwlock.h which fail on a kernel with the RT patches
authorRaphaël Beamonte <raphael.beamonte@gmail.com>
Tue, 28 May 2013 01:45:55 +0000 (21:45 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Tue, 28 May 2013 14:50:54 +0000 (10:50 -0400)
commitb86fed351eda7055fddf3ea96583d716122027fc
tree39e1ca39bab9c6922e3a6aab0b9d377c756f472f
parent161c678d113a347b5a89a12f4f5275c2f82e37ab
Remove a direct include of rwlock.h which fail on a kernel with the RT patches

The file linux/rwlock.h should not be included directly as stated by
an #error message at the 5th line of the file. With a RT patched
kernel, linux/rwlock_rt.h should be included instead of linux/rwlock.h.
The file linux/spinlock.h already do the proper check. We then should
let the include be done by this file.

Signed-off-by: Raphaël Beamonte <raphael.beamonte@gmail.com>
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
runtime/linux/uprobes-inode.c
This page took 0.029279 seconds and 5 git commands to generate.