| To: | Atsushi Nemoto <anemo@mba.ocn.ne.jp> |
|---|---|
| Subject: | Re: [PATCH] rest of works for migration to GENERIC_TIME |
| From: | Sergei Shtylyov <sshtylyov@ru.mvista.com> |
| Date: | Mon, 23 Oct 2006 18:38:37 +0400 |
| Cc: | linux-mips@linux-mips.org, ralf@linux-mips.org |
| In-reply-to: | <20061023.033407.104640794.anemo@mba.ocn.ne.jp> |
| Organization: | MontaVista Software Inc. |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <20061023.033407.104640794.anemo@mba.ocn.ne.jp> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mozilla/5.0 (X11; U; Linux i686; rv:1.7.2) Gecko/20040803 |
Hello. Atsushi Nemoto wrote: [Sorry, resend without unrelated changes ...] Since we already moved to GENERIC_TIME, we should implement alternatives of old do_gettimeoffset routines to get sub-jiffies resolution from gettimeofday(). This patch includes: * mips_hpt_mask variable to specify bitmask of hpt value. There's actually no need to introduce more variables. Just make clocksource declaration public and override default mask if necessary. Also, I don't see much sense in further existence of mips_hpt_read() -- it only causes each clocksource read go thru a double indirection which is really ugly. The same approach shouyld be used here. WBR, Sergei |
| Previous by Date: | Re: [PATCH] rest of works for migration to GENERIC_TIME, Ralf Baechle |
|---|---|
| Next by Date: | Re: [PATCH] rest of works for migration to GENERIC_TIME, Atsushi Nemoto |
| Previous by Thread: | Re: [PATCH] rest of works for migration to GENERIC_TIME, Atsushi Nemoto |
| Next by Thread: | Re: [PATCH] rest of works for migration to GENERIC_TIME, Atsushi Nemoto |
| Indexes: | [Date] [Thread] [Top] [All Lists] |