Re: [PATCH 10/24] C6X: time management

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 08 August 2011, Mark Salter wrote:

> +#ifndef _ASM_C6X_TIMEX_H
> +#define _ASM_C6X_TIMEX_H
> +
> +/*
> + * This should be close enough...
> + */
> +#define CLOCK_TICK_RATE ((1000 * 1000000UL) / 6)
> +

We're about to remove that symbol and all its users, you should not need it
in 3.2 any more (though you still do in 3.1-rc1).

> +static cycle_t tsc_read(struct clocksource *cs)
> +{
> +	return get_cycles();
> +}

What is this good for? TSC is an x86 specific feature, so you should just
be able to use get_cycles directly.

	Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux