All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] [PATCH] extend HPET-disabled requirement
@ 2008-01-07  9:32 Jan Kiszka
  0 siblings, 0 replies; only message in thread
From: Jan Kiszka @ 2008-01-07  9:32 UTC (permalink / raw)
  To: Philippe Gerum; +Cc: Xenomai-core

[-- Attachment #1: Type: text/plain, Size: 328 bytes --]

As this thread [1] demonstrated, there is another nasty corner-case
where enabled CONFIG_HPET_TIMER bites us. The attached patch aims at
catching this case as well.

Jan

[1] https://mail.gna.org/public/xenomai-help/2008-01/msg00009.html

-- 
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux

[-- Attachment #2: extend-hpet-dependency.patch --]
[-- Type: text/x-patch, Size: 1000 bytes --]

---
 scripts/Kconfig.frag |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Index: xenomai/scripts/Kconfig.frag
===================================================================
--- xenomai.orig/scripts/Kconfig.frag
+++ xenomai/scripts/Kconfig.frag
@@ -12,12 +12,12 @@ comment "(menu Device Drivers/Input devi
 	depends on !X86_TSC && X86 && INPUT_PCSPKR
 
 comment "NOTE: Xenomai needs either X86_LOCAL_APIC enabled or HPET_TIMER disabled."
-	depends on !X86_LOCAL_APIC && X86 && HPET_TIMER
+	depends on (!X86_LOCAL_APIC || !X86_TSC) && X86 && HPET_TIMER
 comment "(menu Processor type and features)"
-	depends on !X86_LOCAL_APIC && X86 && HPET_TIMER
+	depends on (!X86_LOCAL_APIC || !X86_TSC) && X86 && HPET_TIMER
 
 config XENOMAI
-	depends on ((X86_TSC || !X86 || !INPUT_PCSPKR) && (!HPET_TIMER || !X86 || X86_LOCAL_APIC))
+	depends on ((X86_TSC || !X86 || !INPUT_PCSPKR) && (!HPET_TIMER || !X86 || (X86_LOCAL_APIC && X86_TSC)))
 	bool "Xenomai"
 	default y
         select IPIPE

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-01-07  9:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-07  9:32 [Xenomai-core] [PATCH] extend HPET-disabled requirement Jan Kiszka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.