linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm: bcm2835: enable proc and sysfs in defconfig
@ 2012-10-27 17:00 Thomas Petazzoni
  2012-10-28  2:33 ` Stephen Warren
  2012-10-28 11:43 ` Sergei Shtylyov
  0 siblings, 2 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2012-10-27 17:00 UTC (permalink / raw)
  To: linux-arm-kernel

For some reason, support for proc and sysfs is currently disabled in
the bcm2835_defconfig, even though those filesystems are quite
essential even for very basic Linux userspace. As most defconfig have
them enabled by default, enable them as well in bcm2835_defconfig.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 arch/arm/configs/bcm2835_defconfig |    2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/arm/configs/bcm2835_defconfig b/arch/arm/configs/bcm2835_defconfig
index 7aea702..74e27f0 100644
--- a/arch/arm/configs/bcm2835_defconfig
+++ b/arch/arm/configs/bcm2835_defconfig
@@ -66,8 +66,6 @@ CONFIG_TTY_PRINTK=y
 # CONFIG_FILE_LOCKING is not set
 # CONFIG_DNOTIFY is not set
 # CONFIG_INOTIFY_USER is not set
-# CONFIG_PROC_FS is not set
-# CONFIG_SYSFS is not set
 # CONFIG_MISC_FILESYSTEMS is not set
 CONFIG_PRINTK_TIME=y
 # CONFIG_ENABLE_WARN_DEPRECATED is not set
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] arm: bcm2835: enable proc and sysfs in defconfig
  2012-10-27 17:00 [PATCH] arm: bcm2835: enable proc and sysfs in defconfig Thomas Petazzoni
@ 2012-10-28  2:33 ` Stephen Warren
  2012-10-28 11:43 ` Sergei Shtylyov
  1 sibling, 0 replies; 4+ messages in thread
From: Stephen Warren @ 2012-10-28  2:33 UTC (permalink / raw)
  To: linux-arm-kernel

On 10/27/2012 11:00 AM, Thomas Petazzoni wrote:
> For some reason, support for proc and sysfs is currently disabled in
> the bcm2835_defconfig, even though those filesystems are quite
> essential even for very basic Linux userspace. As most defconfig have
> them enabled by default, enable them as well in bcm2835_defconfig.

How silly of me; I had this as part of a local change for testing, but
hadn't made a patch to add it to the defconfig upstream.

Applied to bcm2835's for-3.8/defconfig branch. Thanks.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] arm: bcm2835: enable proc and sysfs in defconfig
  2012-10-27 17:00 [PATCH] arm: bcm2835: enable proc and sysfs in defconfig Thomas Petazzoni
  2012-10-28  2:33 ` Stephen Warren
@ 2012-10-28 11:43 ` Sergei Shtylyov
  2012-10-28 12:28   ` Thomas Petazzoni
  1 sibling, 1 reply; 4+ messages in thread
From: Sergei Shtylyov @ 2012-10-28 11:43 UTC (permalink / raw)
  To: linux-arm-kernel

Hello.

On 27-10-2012 21:00, Thomas Petazzoni wrote:

> For some reason, support for proc and sysfs is currently disabled in
> the bcm2835_defconfig, even though those filesystems are quite
> essential even for very basic Linux userspace. As most defconfig have
> them enabled by default, enable them as well in bcm2835_defconfig.

> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
>   arch/arm/configs/bcm2835_defconfig |    2 --
>   1 file changed, 2 deletions(-)

> diff --git a/arch/arm/configs/bcm2835_defconfig b/arch/arm/configs/bcm2835_defconfig
> index 7aea702..74e27f0 100644
> --- a/arch/arm/configs/bcm2835_defconfig
> +++ b/arch/arm/configs/bcm2835_defconfig
> @@ -66,8 +66,6 @@ CONFIG_TTY_PRINTK=y
>   # CONFIG_FILE_LOCKING is not set
>   # CONFIG_DNOTIFY is not set
>   # CONFIG_INOTIFY_USER is not set
> -# CONFIG_PROC_FS is not set
> -# CONFIG_SYSFS is not set

    Hm, I don't see where are you enabling them... So I miss something?

WBR, Sergei

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] arm: bcm2835: enable proc and sysfs in defconfig
  2012-10-28 11:43 ` Sergei Shtylyov
@ 2012-10-28 12:28   ` Thomas Petazzoni
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2012-10-28 12:28 UTC (permalink / raw)
  To: linux-arm-kernel

Dear Sergei Shtylyov,

On Sun, 28 Oct 2012 15:43:33 +0400, Sergei Shtylyov wrote:

> > diff --git a/arch/arm/configs/bcm2835_defconfig b/arch/arm/configs/bcm2835_defconfig
> > index 7aea702..74e27f0 100644
> > --- a/arch/arm/configs/bcm2835_defconfig
> > +++ b/arch/arm/configs/bcm2835_defconfig
> > @@ -66,8 +66,6 @@ CONFIG_TTY_PRINTK=y
> >   # CONFIG_FILE_LOCKING is not set
> >   # CONFIG_DNOTIFY is not set
> >   # CONFIG_INOTIFY_USER is not set
> > -# CONFIG_PROC_FS is not set
> > -# CONFIG_SYSFS is not set
> 
>     Hm, I don't see where are you enabling them... So I miss something?

Yes:

config PROC_FS
        bool "/proc file system support" if EXPERT
        default y

config SYSFS
        bool "sysfs file system support" if EXPERT
        default y

Those options are enabled by default. So, when there's nothing in the
defconfig file to disable them, they are enabled.

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-10-28 12:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-27 17:00 [PATCH] arm: bcm2835: enable proc and sysfs in defconfig Thomas Petazzoni
2012-10-28  2:33 ` Stephen Warren
2012-10-28 11:43 ` Sergei Shtylyov
2012-10-28 12:28   ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).