/* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * 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. * * You should have received a copy of the GNU General Public License * along with this program; if not, see the file COPYING, or write * to the Free Software Foundation, Inc. */#include <linux/module.h>#include <lib/libgcc.h>word_type__ucmpdi2(unsignedlonglonga,unsignedlonglongb){constDWunionau={.ll=a};constDWunionbu={.ll=b};if((unsignedint)au.s.high<(unsignedint)bu.s.high)return0;elseif((unsignedint)au.s.high>(unsignedint)bu.s.high)return2;if((unsignedint)au.s.low<(unsignedint)bu.s.low)return0;elseif((unsignedint)au.s.low>(unsignedint)bu.s.low)return2;return1;}EXPORT_SYMBOL(__ucmpdi2);