[RFC PATCH v3 11/12] powerpc: Remove unreachable() from WARN_ON()
    Christophe Leroy 
    christophe.leroy at csgroup.eu
       
    Mon Jul  4 22:34:08 AEST 2022
    
    
  
Le 04/07/2022 à 13:45, Peter Zijlstra a écrit :
> On Wed, Jun 29, 2022 at 06:30:23PM +0000, Christophe Leroy wrote:
> 
> 
>> The problem is that that function has size 0:
>>
>> 00000000000003d0 l     F .text	0000000000000000
>> qdisc_root_sleeping_lock.part.0
> 
> I'm somewhat confused; how is an empty STT_FUNC a valid construct on
> Power?
So am I. It is likely not a valid construct, but that's what GCC seems 
to generate when you call annotate_unreachable().
    
    
More information about the Linuxppc-dev
mailing list