summaryrefslogtreecommitdiff
path: root/firmware/include/asm/linkage.h
blob: ac1c900f00da59a9faee445b1fdd84fabc92a885 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef __ASM_LINKAGE_H
#define __ASM_LINKAGE_H

/* asm-arm/linkage.h */

#define __ALIGN .align 0
#define __ALIGN_STR ".align 0"

/* linux/linkage.h */

#define ALIGN __ALIGN

#define ENTRY(name) \
  .globl name; \
  ALIGN; \
  name:

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