On Thu, 21 Jul 2011, Thomas Gleixner wrote: > On Thu, 21 Jul 2011, hermann wrote: > > I try to build the 3.0-rc7-rt0 but fail with the following message: > > CC [M] fs/ext3/balloc.o > > In file included from include/linux/jbd.h:247:0, > > from fs/ext3/balloc.c:18: > > Find below a patch on top of rt0 which fixes this build failure and > some other stuff. Bah, that's when you trust other peoples patches. It needs the following fix as well: --- linux-2.6.orig/include/linux/buffer_head.h +++ linux-2.6/include/linux/buffer_head.h @@ -109,7 +111,8 @@ static inline void buffer_head_init_lock { #ifdef CONFIG_PREEMPT_RT_BASE spin_lock_init(&bh->b_uptodate_lock); -#if defined(CONFIG_JBD) || defined(CONFIG_JBD2) +#if defined(CONFIG_JBD) || defined(CONFIG_JBD_MODULE) || \ + defined(CONFIG_JBD2) || defined(CONFIG_JBD2_MODULE) spin_lock_init(&bh->b_state_lock); spin_lock_init(&bh->b_journal_head_lock); #endif -- To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html