mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
0d120f42da
Add support for 3.13 as a development kernel. Mostly untested, only net booted. If flashed may brick your router or kill your cat. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 39746
32 lines
721 B
Diff
32 lines
721 B
Diff
From 72a1c3ad0392d7b42bf50e6ecade63a775166c73 Mon Sep 17 00:00:00 2001
|
|
From: Jonas Gorski <jogo@openwrt.org>
|
|
Date: Thu, 27 Jun 2013 21:32:41 +0200
|
|
Subject: [PATCH V2 02/13] 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: Jonas Gorski <jogo@openwrt.org>
|
|
---
|
|
arch/mips/include/asm/cpu.h | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
--- a/arch/mips/include/asm/cpu.h
|
|
+++ b/arch/mips/include/asm/cpu.h
|
|
@@ -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
|