From 53ef9a641caec48af8b4eab0f10076183d99923d Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Fri, 9 Mar 2007 12:41:05 +0000 Subject: [PATCH] Document the origin of include/cpu/generic/x86/div64.h (trivial). Update the file to the latest version from the Linux kernel (trivial). Signed-off-by: Uwe Hermann Acked-by: Uwe Hermann git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@229 f3766cd6-281f-0410-b1cd-43a5c92072e9 --- HACKING | 4 ++++ include/cpu/generic/x86/div64.h | 8 +++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/HACKING b/HACKING index fdad7c3247..a49dd9f694 100644 --- a/HACKING +++ b/HACKING @@ -61,3 +61,7 @@ Third-party Code and License Overview Source: http://lxr.mozilla.org/mozilla1.8.0/source/js/src/jscpucfg.c Current version we use: CVS rev. 3.25 +* include/cpu/generic/x86/div64.h: GPLv2 + Source: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 + Current version we use: e2afe67453e5b1499459ee3596b1e7924a5208f5 + diff --git a/include/cpu/generic/x86/div64.h b/include/cpu/generic/x86/div64.h index 28ed8b296a..996b95768d 100644 --- a/include/cpu/generic/x86/div64.h +++ b/include/cpu/generic/x86/div64.h @@ -1,3 +1,9 @@ +/* + * This file is part of the LinuxBIOS project. + * + * It was taken from the Linux kernel, include/asm-i386/div64.h. + */ + #ifndef __I386_DIV64 #define __I386_DIV64 @@ -35,7 +41,7 @@ */ #define div_long_long_rem(a,b,c) div_ll_X_l_rem(a,b,c) -extern inline long +static inline long div_ll_X_l_rem(long long divs, long div, long *rem) { long dum2;