qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] aee5f8: Revert "syscall.c: Fix build with old


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] aee5f8: Revert "syscall.c: Fix build with older linux-head...
Date: Fri, 19 Aug 2016 03:30:04 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: aee5f8f98ecadf05cce20c47e8d88cfae69b1790
      
https://github.com/qemu/qemu/commit/aee5f8f98ecadf05cce20c47e8d88cfae69b1790
  Author: Michal Privoznik <address@hidden>
  Date:   2016-08-19 (Fri, 19 Aug 2016)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  Revert "syscall.c: Fix build with older linux-headers"

The fix I've made there was wrong. I mean, basically what I did
there was equivalent to:

  #if 0
  some code;
  #endif

This reverts commit 9c37146782e7850877d452da47dc451ba73aa62d.

Signed-off-by: Michal Privoznik <address@hidden>
Reviewed-by: Laurent Vivier <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 60c6b790fc5dc26418dca42a77bab925ca7bac60
      
https://github.com/qemu/qemu/commit/60c6b790fc5dc26418dca42a77bab925ca7bac60
  Author: Michal Privoznik <address@hidden>
  Date:   2016-08-19 (Fri, 19 Aug 2016)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  syscall.c: Redefine IFLA_* enums

In 9c37146782 I've tried to fix a broken build with older
linux-headers. However, I didn't do it properly. The solution
implemented here is to grab the enums that caused the problem
initially, and rename their values so that they are "QEMU_"
prefixed. In order to guarantee matching values with actual
enums from linux-headers, the enums are seeded with starting
values from the original enums.

Signed-off-by: Michal Privoznik <address@hidden>
Reviewed-by: Laurent Vivier <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/02b1ad881cbb...60c6b790fc5d

reply via email to

[Prev in Thread] Current Thread [Next in Thread]