mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
s390-ccw: Getting rid of ulong
Any good reason why this still exist? I can understand u* and __u* to be linux kernel like, but ulong? Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com> Message-Id: <20230629104821.194859-2-thuth@redhat.com> Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
0eb8f90ede
commit
f7f2f96f33
7 changed files with 21 additions and 22 deletions
|
@ -38,7 +38,7 @@ static inline void yield(void)
|
|||
|
||||
static inline void sleep(unsigned int seconds)
|
||||
{
|
||||
ulong target = get_time_seconds() + seconds;
|
||||
unsigned long target = get_time_seconds() + seconds;
|
||||
|
||||
while (get_time_seconds() < target) {
|
||||
yield();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue