um: Fix a build error
Subsystems (2)
PATCH 1/1 um: Fix a build error
Gcc5 failed to build uml.
Update codes to test __GNUC__ with 5 will be happier.
Signed-off-by Firo Yang <[email protected]>
--- arch/um/include/shared/init.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/um/include/shared/init.h +1 -1
@@ -54,7 +54,7 @@ typedef void (*exitcall_t)(void);#endif #else -#if __GNUC__ = 4 +#if __GNUC__ = 4 || __GNUC__ = 5# define __used __attribute__((__used__))#endif #endif
Signature · 1 line
2.4.3
Richard Weinberger
maintainerAm 15.06.2015 um 16:43 schrieb Firo Yang:
Quoted 4 lines
Gcc5 failed to build uml.
Update codes to test__GNUC__with 5 will be happier.Signed-off-by Firo Yang <[email protected]>
The issue got already addressed by patches:
[PATCH 2/5] um: Stop abusing __KERNEL__ [PATCH 3/5] um: Remove copy&paste code from init.h
They will appear soon in Linus' tree.
Thanks,
//richard