mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Olaf Hering <olaf@aepfle.de>
To: KY Srinivasan <kys@microsoft.com>
Cc: "x86@kernel.org" <x86@kernel.org>,
	"gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"devel@linuxdriverproject.org" <devel@linuxdriverproject.org>,
	"apw@canonical.com" <apw@canonical.com>,
	"jasowang@redhat.com" <jasowang@redhat.com>,
	"tglx@linutronix.de" <tglx@linutronix.de>,
	"hpa@zytor.com" <hpa@zytor.com>,
	"JBeulich@suse.com" <JBeulich@suse.com>,
	"bp@alien8.de" <bp@alien8.de>
Subject: Re: [PATCH V2 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor
Date: Fri, 27 Sep 2013 17:32:43 +0200	[thread overview]
Message-ID: <20130927153242.GA29462@aepfle.de> (raw)
In-Reply-To: <418dd0e9b1054189b61770edb57c5b37@SN2PR03MB061.namprd03.prod.outlook.com>

On Fri, Sep 27, KY Srinivasan wrote:

> > This leads to build errors on 32bit:
> > 
> > linux-3.12-rc2/arch/x86/kernel/cpu/mshyperv.c:88: undefined reference to
> > `__udivdi3'
> > 
> > Up to now I have only tested on 64bit, sorry for that.
> 
> Thanks Olaf. I am travelling currently; I will fix it when I get back (early next week).

This change seems to fix it:

-+              hv_lapic_frequency /= HZ;
++              div_u64(hv_lapic_frequency, HZ);

Olaf

  reply	other threads:[~2013-09-27 15:32 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-03 18:30 K. Y. Srinivasan
2013-09-04  7:17 ` Jan Beulich
2013-09-04 15:03   ` KY Srinivasan
2013-09-04  9:40 ` Gleb Natapov
2013-09-04 15:16   ` KY Srinivasan
2013-09-05 14:16     ` Gleb Natapov
2013-09-13  0:06 ` KY Srinivasan
2013-09-13  0:28   ` H. Peter Anvin
2013-09-13  1:43     ` KY Srinivasan
2013-09-13  6:39       ` Jan Beulich
2013-09-13 14:28         ` KY Srinivasan
2013-09-13  9:55       ` Gleb Natapov
2013-09-13 14:28         ` KY Srinivasan
2013-09-17 13:59           ` Gleb Natapov
2013-09-17 19:53             ` KY Srinivasan
2013-09-18  5:43               ` Gleb Natapov
2013-09-23 13:02                 ` KY Srinivasan
2013-09-23 15:50                   ` H. Peter Anvin
2013-09-23 19:23                     ` KY Srinivasan
2013-10-02 23:11                     ` KY Srinivasan
2013-09-27 15:10 ` Olaf Hering
2013-09-27 15:23   ` KY Srinivasan
2013-09-27 15:32     ` Olaf Hering [this message]
2013-09-27 15:35       ` KY Srinivasan
2013-10-09 22:50         ` H. Peter Anvin
2013-10-10  0:04           ` KY Srinivasan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130927153242.GA29462@aepfle.de \
    --to=olaf@aepfle.de \
    --cc=JBeulich@suse.com \
    --cc=apw@canonical.com \
    --cc=bp@alien8.de \
    --cc=devel@linuxdriverproject.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=hpa@zytor.com \
    --cc=jasowang@redhat.com \
    --cc=kys@microsoft.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome