Messages in this thread | | | Date | Tue, 28 Apr 2009 21:50:50 -0700 | From | Andrew Morton <> | Subject | Re: [PATCH 5/5] proc: export more page flags in /proc/kpageflags |
| |
On Tue, 28 Apr 2009 23:41:52 -0500 Nathan Lynch <ntl@pobox.com> wrote:
> > CONFIG_DEBUG_KERNEL being enabled in distro kernels effectively means > > > > #ifdef CONFIG_DEBUG_KERNEL == #if 1 > > > > as the following patch demos. Now it becomes obviously silly. > > Sure, #if 1 is usually silly. But if the point is that DEBUG_KERNEL is > not supposed to directly affect code generation, then I see two options > for powerpc: > > - remove the #ifdef CONFIG_DEBUG_KERNEL guards from > arch/powerpc/kernel/sysfs.c, unconditionally enabling the hid/ima > sysfs attributes, or > > - define a new config symbol which governs whether those attributes are > enabled, and make it depend on DEBUG_KERNEL
yup.
| |