mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 10:01:01 +03:00
36e6f86146
- Map the LE/BE_* byteorder macros to the linux versions - More minor vnodes fixes git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@41 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c
14 lines
301 B
C
14 lines
301 B
C
#ifndef _SPL_BYTEORDER_H
|
|
#define _SPL_BYTEORDER_H
|
|
|
|
#include <asm/byteorder.h>
|
|
|
|
#define LE_16(x) cpu_to_le16(x)
|
|
#define LE_32(x) cpu_to_le32(x)
|
|
#define LE_64(x) cpu_to_le64(x)
|
|
#define BE_16(x) cpu_to_be16(x)
|
|
#define BE_32(x) cpu_to_be32(x)
|
|
#define BE_64(x) cpu_to_be64(x)
|
|
|
|
#endif /* SPL_BYTEORDER_H */
|