WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] minios: Add noreturn attribute to do_exit

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] minios: Add noreturn attribute to do_exit
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 17 Jan 2008 15:20:15 -0800
Delivery-date: Thu, 17 Jan 2008 15:20:27 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1200580785 0
# Node ID 03c2236e0089d0fe4a929150eff78e97dbdaf69a
# Parent  e51bf624433aa8439a6f5c6676bb79850a2cd1a8
minios: Add noreturn attribute to do_exit

Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>
---
 extras/mini-os/include/ia64/os.h |    2 +-
 extras/mini-os/include/x86/os.h  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff -r e51bf624433a -r 03c2236e0089 extras/mini-os/include/ia64/os.h
--- a/extras/mini-os/include/ia64/os.h  Thu Jan 17 14:39:21 2008 +0000
+++ b/extras/mini-os/include/ia64/os.h  Thu Jan 17 14:39:45 2008 +0000
@@ -44,7 +44,7 @@ typedef uint64_t caddr_t;             /* rr7/kernel
 #include "mm.h"
 
 
-void do_exit(void);
+void do_exit(void) __attribute__((noreturn));
 void arch_init(start_info_t *si);      /* in common.c */
 void arch_print_info(void);            /* in common.c */
 
diff -r e51bf624433a -r 03c2236e0089 extras/mini-os/include/x86/os.h
--- a/extras/mini-os/include/x86/os.h   Thu Jan 17 14:39:21 2008 +0000
+++ b/extras/mini-os/include/x86/os.h   Thu Jan 17 14:39:45 2008 +0000
@@ -21,7 +21,7 @@
 
 #define USED    __attribute__ ((used))
 
-extern void do_exit(void);
+extern void do_exit(void) __attribute__((noreturn));
 #define BUG do_exit
 
 #endif

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] minios: Add noreturn attribute to do_exit, Xen patchbot-unstable <=