Re: [PATCH v6 3/6] tools/lib/mm: move hugepage_settings out of selftests
From: Mark Brown
Date: Mon Aug 03 2026 - 08:57:41 EST
On Mon, Aug 03, 2026 at 12:00:01PM +0300, Mike Rapoport wrote:
> > +#ifndef ARRAY_SIZE
> > +#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
> > +#endif
> We already have ~20 of those in tools, so one more won't hurt :)
> But really definition of ARRAY_SIZE() belogs to a header, maybe
> something to cleanup later.
tools/include/linux/kernel.h.
Attachment:
signature.asc
Description: PGP signature