lkml.org 
[lkml]   [2007]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: any value to "NORET_TYPE" macro?
On Tue, 22 May 2007, Adrian Bunk wrote:

> On Tue, May 22, 2007 at 09:09:22AM -0400, Robert P. J. Day wrote:
> >
> > given that:
> >
> > $ grep -r "define.*NORET_TYPE" *
> > include/linux/ext4_fs.h:# define NORET_TYPE /**/
> > include/linux/linkage.h:#define NORET_TYPE /**/
> > include/linux/ext3_fs.h:# define NORET_TYPE /**/
> > $
> >
> > is there any obvious value to the 30 or so uses of that macro
> > sprinkled throughout the tree?
>
> I can be mistaken, but it seems the uses should be replaced with your
> __noreturn

no, i think you're thinking of the alternative ATTRIB_NORET macro.
as you can read in my previous post, NORET_TYPE used to resolve to
"__volatile__" for very old gcc. so i think it's legitimately dead
and can be ripped out.

rday
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://fsdev.net/wiki/index.php?title=Main_Page
========================================================================
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-05-22 16:09    [W:0.519 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site