Re: [PATCH 2/2] IB/rdmavt: don't use rdmavt for UML

2022-12-01 Thread Leon Romanovsky
On Wed, Nov 30, 2022 at 12:09:58PM -0800, Randy Dunlap wrote: > When building rdmavt for ARCH=um, qp.c has a build error on a reference > to the x86-specific cpuinfo field 'x86_cache_size'. > > Fix the build errors by making this driver depend on !UML. > > Prevents these build errors: > > ../dri

[PATCH 2/2] IB/rdmavt: don't use rdmavt for UML

2022-11-30 Thread Randy Dunlap
When building rdmavt for ARCH=um, qp.c has a build error on a reference to the x86-specific cpuinfo field 'x86_cache_size'. Fix the build errors by making this driver depend on !UML. Prevents these build errors: ../drivers/infiniband/sw/rdmavt/qp.c: In function ‘rvt_wss_llc_size’: ../drivers/inf