* thirumalai.p ([email protected]) wrote: > Hi mathieu, > I am using a MPC7410 based target which is running on linux 2.6.19. I > started to apply the LTTng patch for my kernel and try to compile for > target but the following error messages are coming while compiling. First > i verified with the kernel with x86. It worked fine but in case of powerpc > only it is making problem. > > ernel/rwsem.c: In function 'down_read': > kernel/rwsem.c:21: error: 'struct rw_semaphore' has no member named > 'dep_map'
This is related to "lockdep". Try disabling lockdep, maybe you will have more luck. Mathieu > kernel/rwsem.c: In function 'down_read_trylock': > kernel/rwsem.c:36: error: 'struct rw_semaphore' has no member named > 'dep_map' > kernel/rwsem.c: In function 'down_write': > kernel/rwsem.c:48: error: 'struct rw_semaphore' has no member named > 'dep_map' > kernel/rwsem.c: In function 'down_write_trylock': > kernel/rwsem.c:63: error: 'struct rw_semaphore' has no member named > 'dep_map' > kernel/rwsem.c: In function 'up_read': > kernel/rwsem.c:74: error: 'struct rw_semaphore' has no member named > 'dep_map' > kernel/rwsem.c: In function 'up_write': > kernel/rwsem.c:86: error: 'struct rw_semaphore' has no member named > 'dep_map' > kernel/rwsem.c: In function 'down_read_nested': > kernel/rwsem.c:112: error: 'struct rw_semaphore' has no member named > 'dep_map' > kernel/rwsem.c: In function 'down_write_nested': > kernel/rwsem.c:131: error: 'struct rw_semaphore' has no member named > 'dep_map' > kernel/rwsem.c:133: warning: implicit declaration of function > '__down_write_nested' > make[1]: *** [kernel/rwsem.o] Error 1 > > Kindly let me know if you have any clue. > > > > Thank you > Thirumalai > > > **************** CAUTION - Disclaimer *****************This email may contain > confidential and privileged material for the > sole use of the intended recipient(s). Any review, use, retention, > distribution or disclosure by others is strictly prohibited. If you are not > the intended recipient (or authorized to receive for the recipient), please > contact the sender by reply email and delete all copies of this message. > Also, email is susceptible to data corruption, interception, tampering, > unauthorized amendment and viruses. We only send and receive emails on the > basis that we are not liable for any such corruption, interception, > tampering, amendment or viruses or any consequence thereof. > *********** End of Disclaimer ***********DataPatterns ITS Group********** > -- Mathieu Desnoyers Operating System Efficiency R&D Consultant EfficiOS Inc. http://www.efficios.com _______________________________________________ ltt-dev mailing list [email protected] http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
