lkml.org 
[lkml]   [2007]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectwhy is it called "asm-generic/atomic.h"?

i'm just curious -- why does that particular header file have that
name? its opening comment reads:

* Allows to provide arch independent atomic definitions without the need to
* edit all arch specific atomic.h files.

but that's *not* what that header file does. rather, it simply
defines the "long" form of the atomic operations that can be used *in
addition to* the arch-specific ones.

wouldn't it make more sense to have called that header file
something like "asm-generic/atomic_long.h", so as not to mislead folks
into thinking it represented an *alternative* to those other header
files?

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-06-07 14:33    [from the cache]
©2003-2011 Jasper Spaans