]> xenbits.xensource.com Git - unikraft/unikraft.git/commit
arch/ctx.h: Update ctx members declaration order
authorStefan Jumarea <stefanjumarea02@gmail.com>
Sat, 9 Sep 2023 10:54:25 +0000 (13:54 +0300)
committerUnikraft <monkey@unikraft.io>
Sat, 9 Sep 2023 19:45:34 +0000 (19:45 +0000)
commit64e5443f3fee471c12b017cbd26b39c6b342417c
tree74aae15d4058fd77586b786bcb65446cb3fef0ef
parenta45354b42b3295a91be7474fd42335890e0f0d5c
arch/ctx.h: Update ctx members declaration order

Out-of-order designated initialization is not allowed in C++, so change
the `ctx` declaration order to match the `ukarch_ctx` definition order.

Signed-off-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Reviewed-by: Sergiu Moga <sergiu@unikraft.io>
Reviewed-by: Andrei Tatar <andrei@unikraft.io>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #1085
include/uk/arch/ctx.h