summaryrefslogtreecommitdiffstats
path: root/arch/riscv/include/asm/linkage.h
blob: c6801294f388aeacdfe4cc080c4bbd1bca3e8a0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (C) 2015 Regents of the University of California
 */

#ifndef _ASM_RISCV_LINKAGE_H
#define _ASM_RISCV_LINKAGE_H

#define __ALIGN		.balign 4
#define __ALIGN_STR	".balign 4"

#define ENDPROC(name) \
  .type name, %function; \
  END(name)

#endif /* _ASM_RISCV_LINKAGE_H */