Hi

On Sat, Apr 11, 2015 at 10:23 AM, Koen Kooi <koen.k...@linaro.org> wrote:
> Signed-off-by: Koen Kooi <koen.k...@linaro.org>
> ---
>  src/efi/util.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/src/efi/util.c b/src/efi/util.c
> index ba5ed7d..689bc7c 100644
> --- a/src/efi/util.c
> +++ b/src/efi/util.c
> @@ -33,7 +33,9 @@ UINT64 ticks_read(VOID) {
>          __asm__ volatile ("rdtsc" : "=a" (a), "=d" (d));
>          return (d << 32) | a;
>  }
> -#else
> +#endif
> +
> +#ifdef __i386__

I changed this to:
  #elif defined(__i386__)

Applied to systemd-git!

Thanks
David

>  UINT64 ticks_read(VOID) {
>          UINT64 val;
>          __asm__ volatile ("rdtsc" : "=A" (val));
> --
> 2.0.1
>
> _______________________________________________
> systemd-devel mailing list
> systemd-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to