diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2022-06-14 01:43:12 +0200 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2022-06-14 02:08:25 +0200 |
| commit | 4880bd1999feb9276faacd9a79647b53b6ffe8be (patch) | |
| tree | 2afe45d8d6ed1d161352ba7f198715b296fade88 /validation | |
| parent | 9212270048c3bd23f56c20a83d4f89b870b2b26e (diff) | |
| download | sparse-dev-4880bd1999feb9276faacd9a79647b53b6ffe8be.tar.gz | |
predefine __ATOMIC_ACQUIRE & friends as weak
In kernel's arch/mips/Makefile the whole content of gcc's -dM is used
for CHECKFLAGS. This conflict with some macros also defined internally:
builtin:1:9: warning: preprocessor token __ATOMIC_ACQUIRE redefined
builtin:0:0: this was the original definition
Fix this by using a weak define for these macros.
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation')
0 files changed, 0 insertions, 0 deletions
