Re: [PATCH 13/25] [PATCH] turn msr.h functions into native versions

From: Andi Kleen
Date: Wed Aug 08 2007 - 06:03:38 EST


On Wednesday 08 August 2007 06:19, Glauber de Oliveira Costa wrote:

> +static __always_inline long long vget_cycles_sync(void)

Why is there a copy of this function now? That seems wrong

> + native_read_tscp(&p);

The instruction is called rdtscp not read_tscp. Please follow that


> +#define rdtsc(low, high) \

This macro can be probably eliminated, no callers in kernel


-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/