mirror of https://github.com/hak5/openwrt.git
24 lines
692 B
Diff
24 lines
692 B
Diff
From a324800cc0ac1a0bd2a596751d276f5daa9d17d2 Mon Sep 17 00:00:00 2001
|
|
From: Wang Huan <wanghuan@zch06.freescale.net>
|
|
Date: Thu, 4 Feb 2010 16:42:07 +0800
|
|
Subject: [PATCH 20/25] Add CFV4E FPU support for MCF547X_8X
|
|
|
|
Porting the fpu support from ltib-mcf547x_8x-20070107 (2.6.10)
|
|
|
|
Signed-off-by: Lanttor Guo <lanttor.guo@freescale.com>
|
|
---
|
|
arch/m68k/include/asm/fpu.h | 2 ++
|
|
1 files changed, 2 insertions(+), 0 deletions(-)
|
|
|
|
--- a/arch/m68k/include/asm/fpu.h
|
|
+++ b/arch/m68k/include/asm/fpu.h
|
|
@@ -14,6 +14,8 @@
|
|
#define FPSTATESIZE (28)
|
|
#elif defined(CONFIG_M68060)
|
|
#define FPSTATESIZE (12)
|
|
+#elif defined(CONFIG_CFV4E)
|
|
+#define FPSTATESIZE (16)
|
|
#else
|
|
#define FPSTATESIZE (0)
|
|
#endif
|