diff options
author | 2025-05-07 20:25:59 +0200 | |
---|---|---|
committer | 2025-05-08 11:02:46 +0200 | |
commit | 9cf78722003178b09c409df9aafe9d79e5b9a74e (patch) | |
tree | 9f0b0a41dff4d8fcef9ff061dce90e9020158893 /scripts/gdb/linux/utils.py | |
parent | Merge tag 'v6.15-rc5' into x86/msr, to pick up fixes and to resolve conflicts (diff) | |
download | linux-rng-9cf78722003178b09c409df9aafe9d79e5b9a74e.tar.xz linux-rng-9cf78722003178b09c409df9aafe9d79e5b9a74e.zip |
accel/habanalabs: Don't build the driver on UML
The following commit:
288a4ff0ad29 ("x86/msr: Move rdtsc{,_ordered}() to <asm/tsc.h>")
removed the <asm/msr.h> include from the accel/habanalabs driver, which broke
the build on UML:
drivers/accel/habanalabs/common/habanalabs_ioctl.c:326:23: error: call to undeclared function 'rdtsc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Make the driver depend on 'X86 && X86_64', instead of just 'X86_64',
thus it won't be built on UML.
Suggested-by: Johannes Berg <johannes.berg@intel.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Johannes Berg <johannes@sipsolutions.net>
Cc: Ofir Bitton <obitton@habana.ai>
Cc: Oded Gabbay <ogabbay@kernel.org>
Link: https://lore.kernel.org/r/202505080003.0t7ewxGp-lkp@intel.com
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions