Module: xenomai-head
Branch: master
Commit: e0dd12f19f0dbfbe10cd8830ae9af2946367f274
URL:    
http://git.xenomai.org/?p=xenomai-head.git;a=commit;h=e0dd12f19f0dbfbe10cd8830ae9af2946367f274

Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org>
Date:   Sun Oct 25 18:15:24 2009 +0100

rtipc: Remove rt-ipcs exit functions from the exit section.

It does not compile on ARM where the exit section is discarded by the kernel
linker script.

---

 ksrc/drivers/ipc/bufp.c |    2 +-
 ksrc/drivers/ipc/iddp.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ksrc/drivers/ipc/bufp.c b/ksrc/drivers/ipc/bufp.c
index ba14fd4..88200ab 100644
--- a/ksrc/drivers/ipc/bufp.c
+++ b/ksrc/drivers/ipc/bufp.c
@@ -1034,7 +1034,7 @@ static int __init bufp_init(void)
        return 0;
 }
 
-static void __exit bufp_exit(void)
+static void bufp_exit(void)
 {
        xnmap_delete(portmap);
 }
diff --git a/ksrc/drivers/ipc/iddp.c b/ksrc/drivers/ipc/iddp.c
index a407946..a589d34 100644
--- a/ksrc/drivers/ipc/iddp.c
+++ b/ksrc/drivers/ipc/iddp.c
@@ -920,7 +920,7 @@ static int __init iddp_init(void)
        return 0;
 }
 
-static void __exit iddp_exit(void)
+static void iddp_exit(void)
 {
        rtdm_event_destroy(&poolevt);
        xnmap_delete(portmap);


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

Reply via email to