Deleted Added
full compact
byteorder.h (219820) byteorder.h (255932)
1/*-
2 * Copyright (c) 2010 Isilon Systems, Inc.
3 * Copyright (c) 2010 iX Systems, Inc.
4 * Copyright (c) 2010 Panasas, Inc.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 16 unchanged lines hidden (view full) ---

25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */
28#ifndef _ASM_BYTEORDER_H_
29#define _ASM_BYTEORDER_H_
30
31#include <sys/types.h>
32#include <sys/endian.h>
1/*-
2 * Copyright (c) 2010 Isilon Systems, Inc.
3 * Copyright (c) 2010 iX Systems, Inc.
4 * Copyright (c) 2010 Panasas, Inc.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 16 unchanged lines hidden (view full) ---

25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */
28#ifndef _ASM_BYTEORDER_H_
29#define _ASM_BYTEORDER_H_
30
31#include <sys/types.h>
32#include <sys/endian.h>
33#include <asm/types.h>
33
34#if BYTE_ORDER == LITTLE_ENDIAN
35#define __LITTLE_ENDIAN
36#else
37#define __BIG_ENDIAN
38#endif
39
40#define cpu_to_le64 htole64

--- 50 unchanged lines hidden ---
34
35#if BYTE_ORDER == LITTLE_ENDIAN
36#define __LITTLE_ENDIAN
37#else
38#define __BIG_ENDIAN
39#endif
40
41#define cpu_to_le64 htole64

--- 50 unchanged lines hidden ---