summaryrefslogtreecommitdiff
path: root/firmware/include/asm/compiler.h
blob: de4dfaa1977b5f324795b7aaa44450067c67fb64 (plain)
1
2
3
4
5
6
7
#ifndef _ASM_COMPILER_H
#define _ASM_COMPILER_H

#define likely(x)       __builtin_expect(!!(x), 1)
#define unlikely(x)     __builtin_expect(!!(x), 0)

#endif
personal git repositories of Harald Welte. Your mileage may vary