Six archs are missing atomic_inc_return()
Quoted 1 line · Anton
$ grep -l atomic_inc_return include/asm-*/atomic.h
I was assuming all archs used a macro for this, so I used:
$ grep 'define atomic_inc_return' asm-*/atomic.h
But your grep could have found this:
/* FIXME: this arch does not have atomic_inc_return */
and returned a false positive.
What I need is a C-aware grep:
$ cgrep [--definition | --comment | --usage] atomic_inc_return asm-*/atomic.h
to search definitions, comments, and code body respectively.
--Chuck Ebbert 18-Nov-04 18:08:49
Quoted 14 lines · Chuck Ebbert
Quoted 1 line · Anton
$ grep -l atomic_inc_return include/asm-*/atomic.hI was assuming all archs used a macro for this, so I used:
$ grep 'define atomic_inc_return' asm-*/atomic.hBut your grep could have found this:
/* FIXME: this arch does not have atomic_inc_return */
Quoted 8 lines
and returned a false positive.
What I need is a C-aware grep:
$ cgrep [--definition | --comment | --usage] atomic_inc_return asm-*/atomic.hto search definitions, comments, and code body respectively.
what about cscope or c-tags?
best,
Herbert
Quoted 6 lines
--Chuck Ebbert 18-Nov-04 18:08:49
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/