[PATCH 0/3] Add __ioread32_copy() and use it

Andi Kleen andi at firstfloor.org
Tue Sep 15 19:55:46 PDT 2015


> Under what circumstances will the compiler (or linker?) do this? 

Compiler.

> LTO enabled?

Yes it's for LTO.  The optimization allows the compiler to drop unused
functions, which is very popular with users (a lot use it to get smaller
kernel images)

-Andi

-- 
ak at linux.intel.com -- Speaking for myself only.



More information about the linux-arm-kernel mailing list