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 <>
Reported-by: kernel test robot <>
Signed-off-by: Luc Van Oostenryck <>
1 file changed