1 // SPDX-License-Identifier: GPL-2.0
2 #include <linux/export.h>
6 word_type __ucmpdi2(unsigned long long a, unsigned long long b)
8 const DWunion au = {.ll = a};
9 const DWunion bu = {.ll = b};
11 if ((unsigned int) au.s.high < (unsigned int) bu.s.high)
13 else if ((unsigned int) au.s.high > (unsigned int) bu.s.high)
15 if ((unsigned int) au.s.low < (unsigned int) bu.s.low)
17 else if ((unsigned int) au.s.low > (unsigned int) bu.s.low)
21 EXPORT_SYMBOL(__ucmpdi2);