Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 68248d0c authored by Jonas Gorski's avatar Jonas Gorski Committed by Ralf Baechle
Browse files

MIPS: allow asm/cpu.h to be included from assembly



Add guards around the enum to allow including cpu.h from assembly.

Signed-off-by: default avatarJonas Gorski <jogo@openwrt.org>
Signed-off-by: default avatarJohn Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/6238/
parent 0e983d7b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -249,6 +249,8 @@

#define FPIR_IMP_NONE		0x0000

#if !defined(__ASSEMBLY__)

enum cpu_type_enum {
	CPU_UNKNOWN,

@@ -301,6 +303,7 @@ enum cpu_type_enum {
	CPU_LAST
};

#endif /* !__ASSEMBLY */

/*
 * ISA Level encodings