lkml.org 
[lkml]   [2009]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 10/14] kernel.h: Remove ATTRIB_NORET, use __attribute__((noreturn))
Date
No real need to indirect this

Signed-off-by: Joe Perches <joe@perches.com>
---
include/linux/kernel.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/linux/kernel.h b/include/linux/kernel.h
index 3b796b9..5c97b73 100644
--- a/include/linux/kernel.h
+++ b/include/linux/kernel.h
@@ -132,9 +132,9 @@ extern void oops_enter(void);
extern void oops_exit(void);
extern int oops_may_print(void);
NORET_TYPE void do_exit(long code)
- ATTRIB_NORET;
+ __attribute__ ((noreturn));
NORET_TYPE void complete_and_exit(struct completion *comp, long code)
- ATTRIB_NORET;
+ __attribute__ ((noreturn));

/*
* stdlib - String to type conversions
--
1.6.6.rc0.57.gad7a


\
 
 \ /
  Last update: 2009-12-16 14:05    [W:0.051 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site