[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 2/9] pc-bios: s390x: Consolidate timing functions into tim
From: |
David Hildenbrand |
Subject: |
Re: [PATCH v2 2/9] pc-bios: s390x: Consolidate timing functions into time.h |
Date: |
Mon, 18 May 2020 14:45:52 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 |
On 18.05.20 14:09, Janosch Frank wrote:
> On 5/18/20 2:01 PM, David Hildenbrand wrote:
>> [...]
>>
>>>
>>> -static inline void yield(void)
>>> -{
>>> - asm volatile ("diag 0,0,0x44"
>>> - : :
>>> - : "memory", "cc");
>>> -}
>>> -
>>
>> Nit: Looks weird that yield() is moved to time.h
>>
>> Wonder if there is a better fit for this functi
> helper.h or maybe into the libc?
Maybe helper.h if it doesn't result in too much hassle.
--
Thanks,
David / dhildenb
[PATCH v2 9/9] pc-bios: s390x: Make u32 ptr check explicit, Janosch Frank, 2020/05/14
Re: [PATCH v2 0/9] pc-bios: s390x: Cleanup part 1, no-reply, 2020/05/14
Re: [PATCH v2 0/9] pc-bios: s390x: Cleanup part 1, Cornelia Huck, 2020/05/20