All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Philippe Gerum <rpm@xenomai.org>
Cc: Xenomai-core@domain.hid
Subject: [Xenomai-core] [PATCH] extend HPET-disabled requirement
Date: Mon, 07 Jan 2008 10:32:17 +0100	[thread overview]
Message-ID: <4781F1A1.8070004@domain.hid> (raw)

[-- 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

                 reply	other threads:[~2008-01-07  9:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4781F1A1.8070004@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=Xenomai-core@domain.hid \
    --cc=rpm@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.