History log of /kvmtool/include/kvm/compiler.h (Results 1 – 3 of 3)
Revision Date Author Comments
# f8c9614c 25-Mar-2024 Anup Patel <apatel@ventanamicro.com>

kvmtool: Fix absence of __packed definition

The absence of __packed definition in kvm/compiler.h cause build
failer after syncing kernel headers with Linux-6.8 because the
kernel header uapi/linux/v

kvmtool: Fix absence of __packed definition

The absence of __packed definition in kvm/compiler.h cause build
failer after syncing kernel headers with Linux-6.8 because the
kernel header uapi/linux/virtio_pci.h uses __packed for structures.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Link: https://lore.kernel.org/r/20240325153141.6816-3-apatel@ventanamicro.com
Signed-off-by: Will Deacon <will@kernel.org>

show more ...


# c8588b10 18-Dec-2011 Cyrill Gorcunov <gorcunov@gmail.com>

kvm tools: Define __compiletime_error helper

To eliminate compile errors like

| CC builtin-run.o
| In file included from ../../arch/x86/include/asm/system.h:7:0,
| from in

kvm tools: Define __compiletime_error helper

To eliminate compile errors like

| CC builtin-run.o
| In file included from ../../arch/x86/include/asm/system.h:7:0,
| from include/kvm/barrier.h:13,
| from builtin-run.c:16:
| ../../arch/x86/include/asm/cmpxchg.h:11:13: error: no previous prototype for ‘__xchg_wrong_size’ [-Werror=missing-prototypes]
| ../../arch/x86/include/asm/cmpxchg.h: In function ‘__xchg_wrong_size’:
| ../../arch/x86/include/asm/cmpxchg.h:12:2: error: expected declaration specifiers before ‘__compiletime_error’

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>

show more ...


# 70f44c74 25-Jul-2011 Cyrill Gorcunov <gorcunov@gmail.com>

kvm tools: Fix absence of notrace definition

Ingo reported a build breakage caused by absence of 'notrace' definition. Fix
it by adding compiler.h into own headers set.

Reported-by: Ingo Molnar <mi

kvm tools: Fix absence of notrace definition

Ingo reported a build breakage caused by absence of 'notrace' definition. Fix
it by adding compiler.h into own headers set.

Reported-by: Ingo Molnar <mingo@elte.hu>
Tested-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>

show more ...