login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
May
»
21
Re: 2.6.22-rc2 built on ppc (2)
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Roman Zippel
Subject:
Re: 2.6.22-rc2 built on ppc (2)
Date: Monday, May 21, 2007 - 3:25 am
Hi, On Mon, 21 May 2007, Thomas Gleixner wrote:
quoted text
> diff --git a/kernel/time/ntp.c b/kernel/time/ntp.c > index cb25649..bb1bf86 100644 > --- a/kernel/time/ntp.c > +++ b/kernel/time/ntp.c > @@ -304,10 +304,12 @@ int do_adjtimex(struct timex *txc) > temp64 = time_offset << (SHIFT_NSEC - SHIFT_FLL); > if (time_offset < 0) { > temp64 = -temp64; > - do_div(temp64, mtemp); > + temp64 = div_long_long_rem_signed(temp64, mtemp, > + &rem); > freq_adj -= temp64; > } else { > - do_div(temp64, mtemp); > + temp64 = div_long_long_rem_signed(temp64, mtemp, > + &rem); > freq_adj += temp64; > } > }
This only returns a long. bye, Roman -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
2.6.22-rc2 built on ppc (2)
, Elimar Riesebieter
, (Sun May 20, 4:08 am)
Re: 2.6.22-rc2 built on ppc (2)
, Andrew Morton
, (Sun May 20, 2:37 pm)
Re: 2.6.22-rc2 built on ppc (2)
, Roman Zippel
, (Sun May 20, 6:54 pm)
Re: 2.6.22-rc2 built on ppc (2)
, Thomas Gleixner
, (Mon May 21, 3:03 am)
Re: 2.6.22-rc2 built on ppc (2)
, Roman Zippel
, (Mon May 21, 3:25 am)
Re: 2.6.22-rc2 built on ppc (2)
, Thomas Gleixner
, (Mon May 21, 3:40 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
FUJITA Tomonori
Re: [Scst-devel] Integration of SCST in the mainstream Linux kernel
Uwe Kleine-König
Re: [PATCH v2] ARM: allow, but warn, when issuing ioremap() on RAM
Ingo Molnar
Re: [RFC/RFT PATCH] sched: automated per tty task groups
Ingo Molnar
Re: [GIT PULL] time.c - respin
Robin Holt
Re: [PATCH 02 of 12] Fix ia64 compilation failure because of common code include bug
git
:
Mike Miller
git message
Junio C Hamano
Re: [PATCH] Detached HEAD (experimental)
Stefan Richter
Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins
A Large Angry SCM
Re: [RFC] origin link for cherry-pick and revert
Petr Baudis
Re: PPC SHA-1 Updates in "pu"
git-commits-head
:
Linux Kernel Mailing List
libata: disable ATAPI AN by default
Linux Kernel Mailing List
ARM: 5905/1: ARM: Global ASID allocation on SMP
Linux Kernel Mailing List
timer: Try to survive timer callback preempt_count leak
Linux Kernel Mailing List
Documentation/timers/hpet_example.c: only build on X86
Linux Kernel Mailing List
ALSA: hda - Enable beep on Realtek codecs with PCI SSID override
linux-netdev
:
Arnaldo Carvalho de Melo
Re: [PATCH 06/37] dccp: Limit feature negotiation to connection setup phase
Gerrit Renker
[PATCH 1/5] dccp: Initialisation framework for feature negotiation
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
Jeff Garzik
Re: [PATCH] drivers/net: remove network drivers' last few uses of IRQF_SAMPLE_RANDOM
openbsd-misc
:
Stuart Henderson
Re: Kuro5hin: OpenBSD Founder Theo deRaadt Has Conflict of Interest With AMD
Christian Weisgerber
Re: CARP with a single public IP address
Darrin Chandler
Re: strange output on openbsd C code
Marco Peereboom
Re: OpenBSD culture?
KURS ENGLESKOG JEZIKA NA 10 CD-a
AUDIO-VIZUELNA METODA UCENJA ENGLESKOG JEZIKA na 10 CD-a
Colocation donated by:
Syndicate