[lkml]   [2007]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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

Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2007-06-07 14:33    [W:0.041 / U:1.996 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site