File: byteorder.h

package info (click to toggle)
yaboot 1.3.16-4
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 1,508 kB
  • ctags: 3,009
  • sloc: ansic: 10,206; sh: 2,933; asm: 343; makefile: 241
file content (13 lines) | stat: -rw-r--r-- 314 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef _BYTEORDER_H_
#define _BYTEORDER_H_

#include "swab.h"

# define le64_to_cpu(x)  swab64((x))
# define cpu_to_le64(x)  swab64((x))
# define le32_to_cpu(x)  swab32((x))
# define cpu_to_le32(x)  swab32((x))
# define le16_to_cpu(x)  swab16((x))
# define cpu_to_le16(x)  swab16((x))

#endif /* _BYTEORDER_H_ */