From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jyotiswarup.Raiturkar@arm.com (Jyotiswarup Raiturkar) Date: Thu, 20 May 2010 16:57:00 +0530 Subject: [ltt-dev] LTTng 0.85 for kernel 2.6.28 In-Reply-To: <20100519191741.GA18164@Krystal> References: <20100519191741.GA18164@Krystal> Message-ID: <34F012EAAD78FB49A2AFF01BF6DCE07602A4AA5D@ASHWA.Asiapac.Arm.com> I'm trying to install patch-2.6.28-lttng-0.85.tar on 2.6.28, but I'm getting compilation errors. Is there a header file missing or something wrong with my setup/ In file included from lib/psrwlock.c:13: include/linux/psrwlock.h: In function 'write_context_disable': include/linux/psrwlock.h:187: error: implicit declaration of function 'local_bh_disable' include/linux/psrwlock.h: In function 'write_context_enable': include/linux/psrwlock.h:197: error: implicit declaration of function 'local_bh_enable' In file included from include/linux/spinlock.h:56, from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/linux/timex.h:57, from include/linux/sched.h:54, from include/linux/freezer.h:6, from lib/psrwlock.c:16: include/linux/bottom_half.h: At top level: include/linux/bottom_half.h:4: warning: conflicting types for 'local_bh_disable' include/linux/psrwlock.h:187: warning: previous implicit declaration of 'local_bh_disable' was here include/linux/bottom_half.h:7: warning: conflicting types for 'local_bh_enable' include/linux/psrwlock.h:197: warning: previous implicit declaration of 'local_bh_enable' was here lib/psrwlock.c: In function '__psread_lock_slow': lib/psrwlock.c:368: warning: unused variable 'subclass' lib/psrwlock.c: In function '__pswrite_lock_slow_common': lib/psrwlock.c:689: warning: unused variable 'subclass' lib/psrwlock.c:683: warning: unused variable 'task' lib/psrwlock.c: In function '_pswrite_unlock_slow': lib/psrwlock.c:860: warning: unused variable 'nested' make[1]: *** [lib/psrwlock.o] Error 1 make: *** [lib] Error 2 Thanks Jyotiswarup Raiturkar -- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.