xref: /openbmc/u-boot/arch/arm/lib/div0.c (revision 23ff8633)
1 /*
2  * (C) Copyright 2002
3  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4  *
5  * SPDX-License-Identifier:	GPL-2.0+
6  */
7 
8 /* Replacement (=dummy) for GNU/Linux division-by zero handler */
9 void __div0 (void)
10 {
11 	extern void hang (void);
12 
13 	hang();
14 }
15