Re: [RFC 01/22] Generic show_mem() implementation

From: Johannes Weiner
Date: Thu Apr 03 2008 - 09:30:40 EST


Hi,

Sam Ravnborg <sam@xxxxxxxxxxxx> writes:

>> > +
>> > +config HAVE_ARCH_SHOW_MEM
>> > + def_bool y
>>
>> These are all not necessary. Better add some global Kconfig option that
>> gets selected by an arch if it wants the generic implementation.
>>
>> e.g. we currently have this in arch/s390/Kconfig:
>>
>> config S390
>> def_bool y
>> select HAVE_OPROFILE
>> select HAVE_KPROBES
>> select HAVE_KRETPROBES
>>
>> just add a select HAVE_GENERIC_SHOWMEM or something like that in the arch
>> specific patches.
> Seconded.
> See Documentation/kbuild/kconfig-language.txt for a few more hints
> how to do it.

Yes, I will rework the patches. Thanks.

Hannes
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/