commit | 438a76167959061e371025f727fabec2ad9e70a7 | [log] [tgz] |
---|---|---|
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | Wed Jun 29 23:01:02 2005 +0100 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Wed Jun 29 23:01:02 2005 +0100 |
tree | 47991373507725b1307ab084a7d7bda5dd9ee1be | |
parent | b3402cf50efead37dd9553b90fbf1486e09fb78e [diff] [blame] |
[PATCH] ARM: Fix VFP to use do_div() VFP used __divdi3 64-bit division needlessly. Convert it to use our 64-bit by 32-bit division instead. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
diff --git a/arch/arm/vfp/vfpdouble.c b/arch/arm/vfp/vfpdouble.c index fa3053e..b801cd6 100644 --- a/arch/arm/vfp/vfpdouble.c +++ b/arch/arm/vfp/vfpdouble.c
@@ -32,6 +32,8 @@ */ #include <linux/kernel.h> #include <linux/bitops.h> + +#include <asm/div64.h> #include <asm/ptrace.h> #include <asm/vfp.h>