summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/setjmp.h
blob: e9f81bb3f83b08b4af51107d1e12446ff99bfeb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * Copyright © 2008 Michael Neuling IBM Corporation
 */
#ifndef _ASM_POWERPC_SETJMP_H
#define _ASM_POWERPC_SETJMP_H

#define JMP_BUF_LEN    23

extern long setjmp(long *) __attribute__((returns_twice));
extern void longjmp(long *, long) __attribute__((noreturn));

#endif /* _ASM_POWERPC_SETJMP_H */