|
|
@@ -8,9 +8,9 @@
|
|
|
#ifndef _ASM_MIPS_JUMP_LABEL_H
|
|
|
#define _ASM_MIPS_JUMP_LABEL_H
|
|
|
|
|
|
-#include <linux/types.h>
|
|
|
+#ifndef __ASSEMBLY__
|
|
|
|
|
|
-#ifdef __KERNEL__
|
|
|
+#include <linux/types.h>
|
|
|
|
|
|
#define JUMP_LABEL_NOP_SIZE 4
|
|
|
|
|
|
@@ -39,8 +39,6 @@ static __always_inline bool arch_static_branch(struct static_key *key)
|
|
|
return true;
|
|
|
}
|
|
|
|
|
|
-#endif /* __KERNEL__ */
|
|
|
-
|
|
|
#ifdef CONFIG_64BIT
|
|
|
typedef u64 jump_label_t;
|
|
|
#else
|
|
|
@@ -53,4 +51,5 @@ struct jump_entry {
|
|
|
jump_label_t key;
|
|
|
};
|
|
|
|
|
|
+#endif /* __ASSEMBLY__ */
|
|
|
#endif /* _ASM_MIPS_JUMP_LABEL_H */
|