Tom Rini | 83d290c | 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 | db41d65 | 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 | } |