Re: [PATCH] ARM: at91/defconfig: sama5: add CONFIG_FHANDLE

From: Marek Vasut
Date: Tue May 10 2016 - 08:31:40 EST


On 05/10/2016 10:03 AM, Nicolas Ferre wrote:
> CONFIG_FHANDLE is listed as a mandatory kernel option for systemd. So
> explicitly enable it to allow easy use of systemd userspace.
>
> Reported-by: Marek Vasut <marex@xxxxxxx>
> Signed-off-by: Nicolas Ferre <nicolas.ferre@xxxxxxxxx>
> ---
> Hi Marek,

Hi!

> It seems that on my side, CONFIG_FHANDLE is not selected automatically...
> So I add this patch: can you tell me your thoughts?

Uh, weird, I tried this on next just now:

linux-2.6$ git describe HEAD
next-20160510

linux-2.6$ export ARCH=arm ; export CROSS_COMPILE=arm-linux-gnueabi-

linux-2.6$ make sama5_defconfig ; grep FHANDLE .config
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/zconf.lex.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
#
# configuration written to .config
#
CONFIG_FHANDLE=y

> Bye,
> Nico.
>
> arch/arm/configs/sama5_defconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/configs/sama5_defconfig b/arch/arm/configs/sama5_defconfig
> index 307f92b31e57..9cb1a85bb166 100644
> --- a/arch/arm/configs/sama5_defconfig
> +++ b/arch/arm/configs/sama5_defconfig
> @@ -1,6 +1,7 @@
> # CONFIG_LOCALVERSION_AUTO is not set
> # CONFIG_SWAP is not set
> CONFIG_SYSVIPC=y
> +CONFIG_FHANDLE=y
> CONFIG_IRQ_DOMAIN_DEBUG=y
> CONFIG_LOG_BUF_SHIFT=14
> CONFIG_CGROUPS=y
>


--
Best regards,
Marek Vasut