xref: /openbmc/u-boot/arch/arm/lib/div0.c (revision 29b103c7)
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