mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[SPARC32]: Add __cmpdi2() libcall implementation ala. MIPS.
Device mapper generates calls to this with recent versions of gcc. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
6c8f5b90bf
commit
6cc0735d0d
3 changed files with 47 additions and 1 deletions
18
arch/sparc/lib/libgcc.h
Normal file
18
arch/sparc/lib/libgcc.h
Normal file
|
@ -0,0 +1,18 @@
|
|||
#ifndef __ASM_LIBGCC_H
|
||||
#define __ASM_LIBGCC_H
|
||||
|
||||
#include <asm/byteorder.h>
|
||||
|
||||
typedef int word_type __attribute__ ((mode (__word__)));
|
||||
|
||||
struct DWstruct {
|
||||
int high, low;
|
||||
};
|
||||
|
||||
typedef union
|
||||
{
|
||||
struct DWstruct s;
|
||||
long long ll;
|
||||
} DWunion;
|
||||
|
||||
#endif /* __ASM_LIBGCC_H */
|
Loading…
Add table
Add a link
Reference in a new issue