Hi, I had to use rwlock_is_locked( ) with linux2.6 for kdb and noticed that this routine to be undefined for UP. I have attached the patch for 2.6.1 below to return 0 for rwlock_is_locked( ) on UP systems. Please let me know. Thanks Prashanth