Add Linux's math64.h
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 21 Jul 2017 23:12:23 +0000 (19:12 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 16 Nov 2017 15:46:55 +0000 (10:46 -0500)
commitf5b7f49132717d3d1624ef165111bb2c0e044230
tree6d94f40e68fa1bd87491f53922e68ba4a23d7eda
parent269bc695103f683232ddaaf28b49a87d406f56e2
Add Linux's math64.h

k/a/x/div64.h is a truncated version of asm-generic/div64.h, which is
all that Linux's x86_64 is.

From Linux's commit 921edf312a6a ("ide: avoid warning for timings
calculation").

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/arch/x86/div64.h [new file with mode: 0644]
kern/include/math64.h [new file with mode: 0644]