]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/h8300/lib/abs.S
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-bionic-kernel.git] / arch / h8300 / lib / abs.S
CommitLineData
b2441318 1;;; SPDX-License-Identifier: GPL-2.0
a71a29de
YS
2;;; abs.S
3
4#include <asm/linkage.h>
5
6#if defined(CONFIG_CPU_H8300H)
7 .h8300h
8#endif
9#if defined(CONFIG_CPU_H8S)
10 .h8300s
11#endif
12 .text
13.global _abs
14
15;;; int abs(int n)
16_abs:
17 mov.l er0,er0
18 bpl 1f
19 neg.l er0
201:
21 rts