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 <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@229 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
parent
51c6cc420d
commit
53ef9a641c
2 changed files with 11 additions and 1 deletions
4
HACKING
4
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
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue