https://github.com/torvalds/linux
Raw File
Tip revision: e5517c2a5a49ed5e99047008629f1cd60246ea0e authored by Linus Torvalds on 27 November 2016, 21:08:04 UTC
Linux 4.9-rc7
Tip revision: e5517c2
libgcc.h
#ifndef __ASM_LIBGCC_H
#define __ASM_LIBGCC_H

#include <asm/byteorder.h>

typedef int word_type __attribute__ ((mode (__word__)));

#ifdef __BIG_ENDIAN
struct DWstruct {
	int high, low;
};
#elif defined(__LITTLE_ENDIAN)
struct DWstruct {
	int low, high;
};
#else
#error I feel sick.
#endif

typedef union {
	struct DWstruct s;
	long long ll;
} DWunion;

#endif /* __ASM_LIBGCC_H */
back to top