RE: gcc question

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

 



I see. Thank you. 
Regards,
Hon

-----Original Message-----
From: Florian Weimer <fweimer@xxxxxxxxxx> 
Sent: Monday, September 13, 2021 12:51 PM
To: HON LUU <hon@xxxxxxxxxxxxxxxx>
Cc: Segher Boessenkool <segher@xxxxxxxxxxxxxxxxxxx>; gcc-help@xxxxxxxxxxx
Subject: Re: gcc question

* HON LUU:

> I build "device driver code" in userspace code, but using the same 
> headers from kernel source code.
>
> In the driver code, we include "linux/pci.h" header, and through 
> include chain arch_static_branch() got pulling through inline 
> functions.

You need to do replace arch_static_branch with something else.  It cannot be used in userspace.

Thanks,
Florian





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux