projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik...
[powerpc.git]
/
arch
/
arm
/
nwfpe
/
softfloat.h
diff --git
a/arch/arm/nwfpe/softfloat.h
b/arch/arm/nwfpe/softfloat.h
index
1415170
..
0a30674
100644
(file)
--- a/
arch/arm/nwfpe/softfloat.h
+++ b/
arch/arm/nwfpe/softfloat.h
@@
-32,7
+32,6
@@
this code that are retained.
#ifndef __SOFTFLOAT_H__
#define __SOFTFLOAT_H__
#ifndef __SOFTFLOAT_H__
#define __SOFTFLOAT_H__
-#include <linux/config.h>
/*
-------------------------------------------------------------------------------
/*
-------------------------------------------------------------------------------
@@
-51,12
+50,18
@@
input or output the `floatx80' type will be defined.
Software IEC/IEEE floating-point types.
-------------------------------------------------------------------------------
*/
Software IEC/IEEE floating-point types.
-------------------------------------------------------------------------------
*/
-typedef u
nsigned long int
float32;
-typedef u
nsigned long long
float64;
+typedef u
32
float32;
+typedef u
64
float64;
typedef struct {
typedef struct {
- unsigned short high;
- unsigned long long low;
-} floatx80;
+#ifdef __ARMEB__
+ u16 __padding;
+ u16 high;
+#else
+ u16 high;
+ u16 __padding;
+#endif
+ u64 low;
+} __attribute__ ((packed,aligned(4))) floatx80;
/*
-------------------------------------------------------------------------------
/*
-------------------------------------------------------------------------------