File: byteorder.h

package info (click to toggle)
yaboot 1.3.6-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,192 kB
  • ctags: 2,696
  • sloc: ansic: 9,436; sh: 2,578; asm: 343; makefile: 231
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_ */