On 5 February 2013 15:57, Borislav Petkov bp@alien8.de wrote:
Are you kidding me? You're simply not reading what I'm saying to you: "... should be optional and selectable in Kconfig so that systems which don't need that, don't have to see or use it." Because on those systems it doesn't apply.
How about we add an x86-specific extension which is a big wad of code and is needlessly run on ARM just because it is easier?
There isn't lot of code that we have to keep inside the macro you suggest. Its just an if else (with single line block), which would give the parent kobject. Nothing else.
I didn't wanted to create a macro for just that. For me an if/else is not that big code.
Anyway, if nobody else comes on my side i can create that macro for you. But, personally i would prefer code without such macros.
-- viresh