Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
wdenk | 79efd00 | 2002-09-08 19:55:02 +0000 | [diff] [blame] | 2 | /* |
3 | * (C) Copyright 2002 | ||||
4 | * Wolfgang Denk, DENX Software Engineering, wd@denx.de. | ||||
wdenk | 79efd00 | 2002-09-08 19:55:02 +0000 | [diff] [blame] | 5 | */ |
6 | |||||
Simon Glass | f11478f | 2019-12-28 10:45:07 -0700 | [diff] [blame] | 7 | #include <hang.h> |
8 | |||||
wdenk | 79efd00 | 2002-09-08 19:55:02 +0000 | [diff] [blame] | 9 | /* Replacement (=dummy) for GNU/Linux division-by zero handler */ |
10 | void __div0 (void) | ||||
11 | { | ||||
wdenk | 79efd00 | 2002-09-08 19:55:02 +0000 | [diff] [blame] | 12 | hang(); |
13 | } |