diff options
| author | Nick Desaulniers <[email protected]> | 2023-08-31 16:33:40 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-10-04 17:41:56 +0000 |
| commit | a8306f2d4dcea03538c70c26d2948483f70254ff (patch) | |
| tree | 96e9888099e6249fa519b854eb76957ea16c8433 /fs/proc/array.c | |
| parent | docs: fix link s390/zfcpdump.rst (diff) | |
| download | kernel-a8306f2d4dcea03538c70c26d2948483f70254ff.tar.gz kernel-a8306f2d4dcea03538c70c26d2948483f70254ff.zip | |
compiler.h: unify __UNIQUE_ID
commit 6f33d58794ef ("__UNIQUE_ID()")
added a fallback definition of __UNIQUE_ID because gcc 4.2 and older did
not support __COUNTER__.
Also, this commit is effectively a revert of
commit b41c29b0527c ("Kbuild: provide a __UNIQUE_ID for clang")
which mentions clang 2.6+ supporting __COUNTER__.
Documentation/process/changes.rst currently lists the minimum supported
version of these compilers as:
- gcc: 5.1
- clang: 11.0.0
It should be safe to say that __COUNTER__ is well supported by this
point.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Nick Desaulniers <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Jan Beulich <[email protected]>
Cc: Luc Van Oostenryck <[email protected]>
Cc: Michal rarek <[email protected]>
Cc: Nathan Chancellor <[email protected]>
Cc: Paul Russel <[email protected]>
Cc: Tom Rix <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
