linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.6.15-rc5-rt4 fails to compile
@ 2005-12-21 22:21 John Rigg
  0 siblings, 0 replies; 2+ messages in thread
From: John Rigg @ 2005-12-21 22:21 UTC (permalink / raw)
  To: linux-kernel; +Cc: Ingo Molnar

I just tried to compile 2.6.15-rc5-rt4 on x86_64 SMP but it failed with the
following error:

kernel/hrtimer.c: In function 'hrtimer_cancel':
kernel/hrtimer.c:673: error: 'HRTIMER_SOFTIRQ' undeclared (first use in this function)
kernel/hrtimer.c:673: error: (Each undeclared identifier is reported only once
kernel/hrtimer.c:673: error: for each function it appears in.)
make[1]: *** [kernel/hrtimer.o] Error 1
make: *** [kernel] Error 2

HRTIMER_SOFTIRQ is defined in include/linux/interrupt.h on line 24, but it's
dependent on
#ifdef CONFIG_HIGH_RES_TIMERS
which I haven't set in my .config. It's inside an enum so I can't
just remove the #ifdef and make it always defined without changing
the value of the following enum element (not sure what will break if
I try that).

John

^ permalink raw reply	[flat|nested] 2+ messages in thread

* 2.6.15-rc5-rt4 fails to compile
  2005-12-22 23:11 2.6.15-rc5-rt4 fails to compile - question John Rigg
@ 2005-12-25  9:43 ` Jan Engelhardt
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Engelhardt @ 2005-12-25  9:43 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: Linux Kernel Mailing List

Hi Ingo,


CONFIG_RWSEM_GENERIC_SPINLOCK is always y when PREEMPT_RT=y, but (see 
linux/rwsem.h) in this case, <linux/rwsem-semaphore.h> is included, which 
lacks macros like RWSEM_ACTIVE_BIAS used in lib/rwsem.c.


Jan Engelhardt
-- 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-12-25  9:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-21 22:21 2.6.15-rc5-rt4 fails to compile John Rigg
2005-12-22 23:11 2.6.15-rc5-rt4 fails to compile - question John Rigg
2005-12-25  9:43 ` 2.6.15-rc5-rt4 fails to compile Jan Engelhardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).