This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translator/2252] stap generated code does not compile on RHEL4 UP kernel


------- Additional Comments From joshua dot i dot stone at intel dot com  2006-01-31 23:46 -------
It appears to have a problem with this definition of read_trylock:

#ifndef read_trylock
#define read_trylock(x) (read_lock(x),1)
#endif

read_lock maps to _read_lock, which is defined two ways: a function on SMP, or a
do{...}while(0) macro on UP.

Nothing jumps at me *why* this is an error though...

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=2252

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]