diff --git a/include/linux/linkage.h b/include/linux/linkage.h index b163c5c40dbcf2bb7a156d8a04b4f88731c025d7..2119610b24f812fe1c80a6f806c679af11d56ab9 100644 --- a/include/linux/linkage.h +++ b/include/linux/linkage.h @@ -30,9 +30,12 @@ * protection to work (ie no more work that the compiler might * end up needing stack temporaries for). */ +/* Assembly files may be compiled with -traditional .. */ +#ifndef __ASSEMBLY__ #ifndef asmlinkage_protect # define asmlinkage_protect(n, ret, args...) do { } while (0) #endif +#endif #ifndef __ALIGN #define __ALIGN .align 4,0x90