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