| * This file is subject to the terms and conditions of the GNU General Public |
| * License. See the file "COPYING" in the main directory of this archive |
| * Copyright (c) 2010 Cavium Networks, Inc. |
| #ifndef _ASM_MIPS_JUMP_LABEL_H |
| #define _ASM_MIPS_JUMP_LABEL_H |
| #define JUMP_LABEL_NOP_SIZE 4 |
| #define WORD_INSN ".dword" |
| #define WORD_INSN ".word" |
| #define JUMP_LABEL(key, label) \ |
| ".pushsection __jump_table, \"a\"\n\t" \ |
| WORD_INSN " 1b, %l[" #label "], %0\n\t" \ |
| : : "i" (key) : : label); \ |
| typedef u64 jump_label_t; |
| typedef u32 jump_label_t; |
| #endif /* _ASM_MIPS_JUMP_LABEL_H */ |