* [PATCH] powerpc: derive COMMAND_LINE_SIZE from asm-generic
@ 2009-08-13 19:37 Paul Gortmaker
2009-08-13 19:48 ` Arnd Bergmann
0 siblings, 1 reply; 3+ messages in thread
From: Paul Gortmaker @ 2009-08-13 19:37 UTC (permalink / raw)
To: Linuxppc-dev; +Cc: arnd
The default COMMAND_LINE_SIZE in asm-generic is 512, so the
net effect of this change is nil, aside from the cleanup
factor. See also commit 2b74b8569.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
---
arch/powerpc/include/asm/setup.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/include/asm/setup.h b/arch/powerpc/include/asm/setup.h
index 817fac0..dae1934 100644
--- a/arch/powerpc/include/asm/setup.h
+++ b/arch/powerpc/include/asm/setup.h
@@ -1,6 +1,6 @@
#ifndef _ASM_POWERPC_SETUP_H
#define _ASM_POWERPC_SETUP_H
-#define COMMAND_LINE_SIZE 512
+#include <asm-generic/setup.h>
#endif /* _ASM_POWERPC_SETUP_H */
--
1.6.3.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] powerpc: derive COMMAND_LINE_SIZE from asm-generic
2009-08-13 19:37 [PATCH] powerpc: derive COMMAND_LINE_SIZE from asm-generic Paul Gortmaker
@ 2009-08-13 19:48 ` Arnd Bergmann
2009-08-13 20:02 ` Paul Gortmaker
0 siblings, 1 reply; 3+ messages in thread
From: Arnd Bergmann @ 2009-08-13 19:48 UTC (permalink / raw)
To: Paul Gortmaker; +Cc: Linuxppc-dev
On Thursday 13 August 2009 19:37:04 Paul Gortmaker wrote:
> The default COMMAND_LINE_SIZE in asm-generic is 512, so the
> net effect of this change is nil, aside from the cleanup
> factor. See also commit 2b74b8569.
>
> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Just to clarify why this is good: There is a patch from Remis
to kbuild that can automatically create the trivial wrappers,
so we can remove arch/powerpc/include/asm/setup.h from the
kernel once that patch is applied.
I was also planning to submit a series to clean up more powerpc
in this way headers where applicable, see
http://git.kernel.org/?p=linux/kernel/git/arnd/asm-generic.git;a=shortlog;h=powerpc
The series needs some forward porting to 2.6.31 as well as testing.
If you or someone else wants to help with that, please go ahead!
Thanks,
Arnd <><
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] powerpc: derive COMMAND_LINE_SIZE from asm-generic
2009-08-13 19:48 ` Arnd Bergmann
@ 2009-08-13 20:02 ` Paul Gortmaker
0 siblings, 0 replies; 3+ messages in thread
From: Paul Gortmaker @ 2009-08-13 20:02 UTC (permalink / raw)
To: Arnd Bergmann; +Cc: Linuxppc-dev
Arnd Bergmann wrote:
> On Thursday 13 August 2009 19:37:04 Paul Gortmaker wrote:
>> The default COMMAND_LINE_SIZE in asm-generic is 512, so the
>> net effect of this change is nil, aside from the cleanup
>> factor. See also commit 2b74b8569.
>>
>> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
>
> Acked-by: Arnd Bergmann <arnd@arndb.de>
>
> Just to clarify why this is good: There is a patch from Remis
> to kbuild that can automatically create the trivial wrappers,
> so we can remove arch/powerpc/include/asm/setup.h from the
> kernel once that patch is applied.
>
> I was also planning to submit a series to clean up more powerpc
> in this way headers where applicable, see
> http://git.kernel.org/?p=linux/kernel/git/arnd/asm-generic.git;a=shortlog;h=powerpc
I'd looked at master and next in your tree; I didn't
list all the branches and so I'd not noticed powerpc in there
as well.
>
> The series needs some forward porting to 2.6.31 as well as testing.
> If you or someone else wants to help with that, please go ahead!
I'll definitely have a look at what is in there.
Paul.
>
> Thanks,
>
> Arnd <><
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-08-13 20:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-13 19:37 [PATCH] powerpc: derive COMMAND_LINE_SIZE from asm-generic Paul Gortmaker
2009-08-13 19:48 ` Arnd Bergmann
2009-08-13 20:02 ` Paul Gortmaker
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).