summaryrefslogtreecommitdiffstats
path: root/commands/dhrystone.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/dhrystone.c')
-rw-r--r--commands/dhrystone.c17
1 files changed, 4 insertions, 13 deletions
diff --git a/commands/dhrystone.c b/commands/dhrystone.c
index f6772267b3..17efa9c099 100644
--- a/commands/dhrystone.c
+++ b/commands/dhrystone.c
@@ -1,5 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
+// SPDX-FileCopyrightText: © 2014-2015 Phytec Messtechnik GmbH
+
/*
- * (C) Copyright 2014 - 2015 Phytec Messtechnik GmbH
* Author: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
* Author: Daniel Schultz <d.schultz@phytec.de>
*
@@ -7,25 +9,14 @@
* Version: C, Version 2.1
* Date: May 25, 1988
* Author: Reinhold P. Weicker
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
*/
#include <common.h>
#include <command.h>
#include <errno.h>
#include <clock.h>
-#include <asm-generic/div64.h>
+#include <linux/math64.h>
#include <malloc.h>
-#include <stdbool.h>
#include <stdio.h> /* for strcpy, strcmp */
enum idents {ident_1, ident_2, ident_3, ident_4, ident_5};