[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1177621673.12796.121.camel@imap.mvista.com>
Date:	Thu, 26 Apr 2007 14:07:53 -0700
From:	Daniel Walker <dwalker@...sta.com>
To:	Peter Keilty <peter.keilty@...com>
Cc:	linux-ia64@...r.kernel.org, John Stultz <johnstul@...ibm.com>,
	Eric Whitney <eric.whitney@...com>,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/3] ia64: convert to use clocksource code
On Thu, 2007-04-26 at 16:26 -0400, Peter Keilty wrote:
> +        .mask           = (1LL << 40) - 1,
> +        .mult           = 0, /*to be caluclated*/
> +        .shift          = 16,
> +        .is_continuous  = 1,
>  };
You should use CLOCKSOURCE_MASK() here ..
>  
> diff --git a/include/linux/clocksource.h b/include/linux/clocksource.h
> index daa4940..a20b4d6 100644
> --- a/include/linux/clocksource.h
> +++ b/include/linux/clocksource.h
> @@ -61,6 +61,9 @@ struct clocksource {
>  	u32 shift;
>  	unsigned long flags;
>  	cycle_t (*vread)(void);
> +#ifdef CONFIG_IA64
> +	void *fsys_mmio_ptr;	/* used by fsyscall asm code */
> +#endif
Could you explain in detail why this is needed?
Daniel
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Powered by blists - more mailing lists