[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87a6c932yn.ffs@tglx>
Date: Mon, 25 Apr 2022 11:52:00 +0200
From: Thomas Gleixner <tglx@...utronix.de>
To: Donghai Qiao <dqiao@...hat.com>, akpm@...ux-foundation.org,
sfr@...b.auug.org.au, arnd@...db.de, peterz@...radead.org,
heying24@...wei.com, andriy.shevchenko@...ux.intel.com,
axboe@...nel.dk, rdunlap@...radead.org, gor@...ux.ibm.com
Cc: donghai.w.qiao@...il.com, linux-kernel@...r.kernel.org,
Donghai Qiao <dqiao@...hat.com>
Subject: Re: [PATCH v2 01/11] smp: consolidate the structure definitions to
smp.h
On Fri, Apr 22 2022 at 16:00, Donghai Qiao wrote:
> Move the structure definitions from kernel/smp.c to
> include/linux/smp.h
...
> +static char *seq_type[] = {
> + [CFD_SEQ_QUEUE] = "queue",
> + [CFD_SEQ_IPI] = "ipi",
> + [CFD_SEQ_NOIPI] = "noipi",
> + [CFD_SEQ_PING] = "ping",
> + [CFD_SEQ_PINGED] = "pinged",
> + [CFD_SEQ_HANDLE] = "handle",
> + [CFD_SEQ_DEQUEUE] = "dequeue (src CPU 0 == empty)",
> + [CFD_SEQ_IDLE] = "idle",
> + [CFD_SEQ_GOTIPI] = "gotipi",
> + [CFD_SEQ_HDLEND] = "hdlend (src CPU 0 == early)",
> +};
How does this qualify as a structure definition?
Thanks,
tglx
Powered by blists - more mailing lists