summaryrefslogtreecommitdiff
path: root/firmware/include/asm/compiler.h
blob: d2b53f04adc0e5644129534972fa853af0f72bd5 (plain)
1
2
3
4
5
6
7
8
9
10
#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))
#define __noreturn	__attribute__((noreturn))

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