Messages in this thread | | | From | Christophe Leroy <> | Subject | Re: [RFC PATCH v3 11/12] powerpc: Remove unreachable() from WARN_ON() | Date | Mon, 4 Jul 2022 12:34:08 +0000 |
| |
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().
| |