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

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

#define __unused	__attribute__((unused))

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