[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 1/3] qemu-tls.h: Add abstraction layer for TL
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH v2 1/3] qemu-tls.h: Add abstraction layer for TLS variables |
Date: |
Thu, 27 Oct 2011 16:15:53 +0100 |
On 27 October 2011 16:04, Andreas Färber <address@hidden> wrote:
>> + * Copyright (c) 2011 Red Hat, Inc, Linaro Limited
>
> The concatenation looks kind of funny. ;)
Yeah, I know :-) Hope nobody in five years time goes looking for
those Inc guys to try to track them down for a licensing change...
>> +#ifndef QEMU_TLS_GCC_H
>> +#define QEMU_TLS_GCC_H
>
> Extra _GCC. But does no harm.
That's because I cut-and-pasted it from Paolo's qemu-tls-gcc.h...
>> +#define DEFINE_TLS(type, x) __thread __typeof__(type) tls__##x
> I assume __typeof__() is a GCCism, indicated by ..._GCC_H, to ensure
> type is actually a valid type?
Paolo?
-- PMM
[Qemu-devel] [PATCH v2 2/3] darwin-user/main.c: Drop unused cpu_single_env definition, Peter Maydell, 2011/10/27