]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - arch/mips/include/asm/asm.h
MIPS: Move unaligned load/store helpers to inst.h
[mirror_ubuntu-hirsute-kernel.git] / arch / mips / include / asm / asm.h
index c23527ba65d09f999e69d0ddb002f06510cb17b0..934465de470e996cbdc7ab7bc8489696dc9ca4da 100644 (file)
@@ -202,7 +202,9 @@ symbol              =       value
 #define LONG_SRA       sra
 #define LONG_SRAV      srav
 
+#ifdef __ASSEMBLY__
 #define LONG           .word
+#endif
 #define LONGSIZE       4
 #define LONGMASK       3
 #define LONGLOG                2
@@ -225,7 +227,9 @@ symbol              =       value
 #define LONG_SRA       dsra
 #define LONG_SRAV      dsrav
 
+#ifdef __ASSEMBLY__
 #define LONG           .dword
+#endif
 #define LONGSIZE       8
 #define LONGMASK       7
 #define LONGLOG                3