Module: xenomai-rpm
Branch: for-upstream
Commit: e7ffc43fcb805142a1313cd1fed698ee1141ea3e
URL:    
http://git.xenomai.org/?p=xenomai-rpm.git;a=commit;h=e7ffc43fcb805142a1313cd1fed698ee1141ea3e

Author: Philippe Gerum <r...@xenomai.org>
Date:   Tue Dec 21 11:11:31 2010 +0100

powerpc: upgrade I-pipe support to 2.6.36-powerpc-2.12-02

---

 ...ch => adeos-ipipe-2.6.36-powerpc-2.12-02.patch} |   69 +-------------------
 1 files changed, 3 insertions(+), 66 deletions(-)

diff --git a/ksrc/arch/powerpc/patches/adeos-ipipe-2.6.36-powerpc-2.12-01.patch 
b/ksrc/arch/powerpc/patches/adeos-ipipe-2.6.36-powerpc-2.12-02.patch
similarity index 99%
rename from ksrc/arch/powerpc/patches/adeos-ipipe-2.6.36-powerpc-2.12-01.patch
rename to ksrc/arch/powerpc/patches/adeos-ipipe-2.6.36-powerpc-2.12-02.patch
index 6e019e8..1763b03 100644
--- a/ksrc/arch/powerpc/patches/adeos-ipipe-2.6.36-powerpc-2.12-01.patch
+++ b/ksrc/arch/powerpc/patches/adeos-ipipe-2.6.36-powerpc-2.12-02.patch
@@ -281,7 +281,7 @@ index bd100fc..8fa1901 100644
   * or should we not care like we do now ? --BenH.
 diff --git a/arch/powerpc/include/asm/ipipe.h 
b/arch/powerpc/include/asm/ipipe.h
 new file mode 100644
-index 0000000..9a63df2
+index 0000000..b6eff61
 --- /dev/null
 +++ b/arch/powerpc/include/asm/ipipe.h
 @@ -0,0 +1,245 @@
@@ -332,10 +332,10 @@ index 0000000..9a63df2
 +#include <asm/paca.h>
 +#endif
 +
-+#define IPIPE_ARCH_STRING     "2.12-01"
++#define IPIPE_ARCH_STRING     "2.12-02"
 +#define IPIPE_MAJOR_NUMBER    2
 +#define IPIPE_MINOR_NUMBER    12
-+#define IPIPE_PATCH_NUMBER    1
++#define IPIPE_PATCH_NUMBER    2
 +
 +#ifdef CONFIG_IPIPE_WANT_PREEMPTIBLE_SWITCH
 +
@@ -922,20 +922,6 @@ index 0000000..c3162c6
 +#endif /* !CONFIG_IPIPE */
 +
 +#endif /* !_ASM_POWERPC_IPIPE_HWIRQ_H */
-diff --git a/arch/powerpc/include/asm/irq.h b/arch/powerpc/include/asm/irq.h
-index 67ab5fb..5833e4f 100644
---- a/arch/powerpc/include/asm/irq.h
-+++ b/arch/powerpc/include/asm/irq.h
-@@ -342,5 +342,9 @@ extern int call_handle_irq(int irq, void *p1,
-                          struct thread_info *tp, void *func);
- extern void do_IRQ(struct pt_regs *regs);
- 
-+#ifdef CONFIG_NMI_WATCHDOG
-+#define ARCH_HAS_NMI_WATCHDOG
-+#endif
-+
- #endif /* _ASM_IRQ_H */
- #endif /* __KERNEL__ */
 diff --git a/arch/powerpc/include/asm/irqflags.h 
b/arch/powerpc/include/asm/irqflags.h
 index 5f68ecf..5059e59 100644
 --- a/arch/powerpc/include/asm/irqflags.h
@@ -4319,55 +4305,6 @@ index 690566b..7172001 100644
  static void flush_range(struct mm_struct *mm, unsigned long start,
                        unsigned long end)
  {
-diff --git a/arch/powerpc/platforms/44x/Kconfig 
b/arch/powerpc/platforms/44x/Kconfig
-index 69d668c..fc56a3b 100644
---- a/arch/powerpc/platforms/44x/Kconfig
-+++ b/arch/powerpc/platforms/44x/Kconfig
-@@ -182,6 +182,16 @@ config ICON
-       help
-         This option enables support for the AMCC PPC440SPe evaluation board.
- 
-+config LWMON5
-+      bool "lwmon5"
-+      depends on 44x
-+      default n
-+      select PPC44x_SIMPLE
-+      select 440EPX
-+      select NMI_WATCHDOG
-+      help
-+        This option enables support for the Liebherr lwmon5 board.
-+
- #config LUAN
- #     bool "Luan"
- #     depends on 44x
-@@ -240,6 +250,15 @@ config PPC4xx_GPIO
-       help
-         Enable gpiolib support for ppc440 based boards
- 
-+config NMI_WATCHDOG
-+        bool "Enable NMI watchdog"
-+      depends on LWMON5
-+        default n
-+        help
-+        Add touch_nmi_watchdog() calls. This is needed for boards with a
-+        very short watchdog timeout that need to get "kicked" during upon
-+        Linux bootup, before the real watchdog driver is running.
-+
- # 44x specific CPU modules, selected based on the board above.
- config 440EP
-       bool
-diff --git a/arch/powerpc/platforms/44x/ppc44x_simple.c 
b/arch/powerpc/platforms/44x/ppc44x_simple.c
-index 5f7a29d..d29b1f6 100644
---- a/arch/powerpc/platforms/44x/ppc44x_simple.c
-+++ b/arch/powerpc/platforms/44x/ppc44x_simple.c
-@@ -62,6 +62,7 @@ static char *board[] __initdata = {
-       "amcc,sequoia",
-       "amcc,taishan",
-       "amcc,yosemite",
-+      "liebherr,lwmon5",
-       "mosaixtech,icon"
- };
- 
 diff --git a/arch/powerpc/platforms/82xx/pq2ads-pci-pic.c 
b/arch/powerpc/platforms/82xx/pq2ads-pci-pic.c
 index 5a55d87..8a6b407 100644
 --- a/arch/powerpc/platforms/82xx/pq2ads-pci-pic.c


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to