All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Webb <jeff.webb@nta-inc.net>
To: xenomai@xenomai.org
Subject: [Xenomai] Problem with ipipe-core-3.2.21-x86-1.patch?
Date: Mon, 15 Oct 2012 17:08:55 -0500	[thread overview]
Message-ID: <507C8977.506@nta-inc.net> (raw)

I am trying to build xenomai from the xenomai-2.6.git repo under ubuntu 12.04 on a x86_64 desktop machine.  When I try to build a xenomai-enabled kernel from the 3.2.21 sources, the build fails with a compile error.  (Sorry, I didn't save the error message, but I can repeat the process if necessary.)  In order to get things to compile, I made the following change to ipipe-core-3.2.21-x86-1.patch.  Is this a bug?  If so, I'm wondering why no one else has run into this one yet.  I think I built a kernel without any compiler errors under ubuntu 10.04 using this patch, but I'm not 100% certain about that.

-Jeff

diff --git a/ksrc/arch/x86/patches/ipipe-core-3.2.21-x86-1.patch b/ksrc/arch/x86/patches/ipipe-core-3.2.21-x86-1.patch
index 18b23be..58bdbf4 100644
--- a/ksrc/arch/x86/patches/ipipe-core-3.2.21-x86-1.patch
+++ b/ksrc/arch/x86/patches/ipipe-core-3.2.21-x86-1.patch
@@ -1751,12 +1751,12 @@ index 6d939d7..9bbe781 100644
   #ifdef CONFIG_SMP
   	chip->irq_set_affinity = ir_ioapic_set_affinity;
  +#ifdef CONFIG_IPIPE
-+	chip->irq_move = move_xxapic_irq,
++	chip->irq_move = move_xxapic_irq;
  +#endif
  +#endif
  +#ifdef CONFIG_IPIPE
-+	chip->irq_hold = hold_ioapic_irq,
-+	chip->irq_release = release_ioapic_irq,
++	chip->irq_hold = hold_ioapic_irq;
++	chip->irq_release = release_ioapic_irq;
   #endif
   }
   #endif /* CONFIG_IRQ_REMAP */


             reply	other threads:[~2012-10-15 22:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-15 22:08 Jeff Webb [this message]
2012-10-15 22:10 ` [Xenomai] Problem with ipipe-core-3.2.21-x86-1.patch? Gilles Chanteperdrix
2012-10-15 22:31   ` Jeff Webb
2012-10-16 11:15   ` Leopold Palomo-Avellaneda
2012-10-16 12:46     ` Gilles Chanteperdrix
2012-10-16 13:16       ` Leopold Palomo-Avellaneda
2012-10-16 13:18         ` Gilles Chanteperdrix
  -- strict thread matches above, loose matches on Subject: below --
2012-10-16 14:00 Leopold Palomo-Avellaneda

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=507C8977.506@nta-inc.net \
    --to=jeff.webb@nta-inc.net \
    --cc=xenomai@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.