* Re: [PATCH] sparc32,leon: Added __init declaration to
2011-05-11 12:10 [PATCH] sparc32,leon: Added __init declaration to leon_flush_needed() Matthias Rosenfelder
@ 2011-05-16 20:33 ` David Miller
2011-06-06 23:24 ` [PATCH] sparc32,leon: Added __init declaration to leon_flush_needed() Matthias Rosenfelder
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: David Miller @ 2011-05-16 20:33 UTC (permalink / raw)
To: sparclinux
From: Matthias Rosenfelder <rosenfelder.lkml@googlemail.com>
Date: Wed, 11 May 2011 14:10:52 +0200
> The function leon_flush_needed() is called only during bootup
> from another __init function. Therefore, we can add
> __init to leon_flush_needed().
>
> Signed-off-by: Matthias Rosenfelder <rosenfelder.lkml@googlemail.com>
> Acked-by: Daniel Hellstrom <daniel@gaisler.com>
This patch has been corrupted by your email client, making it
unusable.
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [PATCH] sparc32,leon: Added __init declaration to leon_flush_needed()
2011-05-11 12:10 [PATCH] sparc32,leon: Added __init declaration to leon_flush_needed() Matthias Rosenfelder
2011-05-16 20:33 ` [PATCH] sparc32,leon: Added __init declaration to David Miller
@ 2011-06-06 23:24 ` Matthias Rosenfelder
2011-06-06 23:29 ` [PATCH] sparc32,leon: Added __init declaration to David Miller
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Matthias Rosenfelder @ 2011-06-06 23:24 UTC (permalink / raw)
To: sparclinux
On 16.05.2011 22:33, David Miller wrote:
> From: Matthias Rosenfelder<rosenfelder.lkml@googlemail.com>
> Date: Wed, 11 May 2011 14:10:52 +0200
>
>> The function leon_flush_needed() is called only during bootup
>> from another __init function. Therefore, we can add
>> __init to leon_flush_needed().
>>
>> Signed-off-by: Matthias Rosenfelder<rosenfelder.lkml@googlemail.com>
>> Acked-by: Daniel Hellstrom<daniel@gaisler.com>
>
> This patch has been corrupted by your email client, making it
> unusable.
I'm sorry. I'm new to sending patches and posting on mailing lists.
Currently, I'm using Thunderbird with standard settings. As I even don't
know what went wrong when submitting this patch, I would like to know if
there are any known issues with this software or if there is any
recommended mail program for working with the kernel mailing lists?!
What program does the usual kernel hacker use?
I also want to apologize for not reacting for such a long time. I'm
doing this in my spare time only but I didn't have much time lately.
Thank you for your answers.
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [PATCH] sparc32,leon: Added __init declaration to
2011-05-11 12:10 [PATCH] sparc32,leon: Added __init declaration to leon_flush_needed() Matthias Rosenfelder
2011-05-16 20:33 ` [PATCH] sparc32,leon: Added __init declaration to David Miller
2011-06-06 23:24 ` [PATCH] sparc32,leon: Added __init declaration to leon_flush_needed() Matthias Rosenfelder
@ 2011-06-06 23:29 ` David Miller
2011-06-13 17:04 ` [PATCH] sparc32,leon: Added __init declaration to leon_flush_needed() Matthias Rosenfelder
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: David Miller @ 2011-06-06 23:29 UTC (permalink / raw)
To: sparclinux
You don't need to ask us, there is help in the kernel tree:
Documentation/email-clients.txt
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [PATCH] sparc32,leon: Added __init declaration to leon_flush_needed()
2011-05-11 12:10 [PATCH] sparc32,leon: Added __init declaration to leon_flush_needed() Matthias Rosenfelder
` (2 preceding siblings ...)
2011-06-06 23:29 ` [PATCH] sparc32,leon: Added __init declaration to David Miller
@ 2011-06-13 17:04 ` Matthias Rosenfelder
2011-06-13 17:08 ` Matthias Rosenfelder
2011-07-06 15:02 ` [PATCH] sparc32,leon: Added __init declaration to David Miller
5 siblings, 0 replies; 7+ messages in thread
From: Matthias Rosenfelder @ 2011-06-13 17:04 UTC (permalink / raw)
To: sparclinux
The function leon_flush_needed() is called only during bootup from another
__init function. Therefore, we can also add __init to leon_flush_needed().
Signed-off-by: Matthias Rosenfelder <rosenfelder.lkml@googlemail.com>
Acked-by: Daniel Hellstrom <daniel@gaisler.com>
---
arch/sparc/mm/leon_mm.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/sparc/mm/leon_mm.c b/arch/sparc/mm/leon_mm.c
index c0e0129..e485a68 100644
--- a/arch/sparc/mm/leon_mm.c
+++ b/arch/sparc/mm/leon_mm.c
@@ -226,7 +226,7 @@ void leon3_getCacheRegs(struct leon3_cacheregs *regs)
* Leon2 and Leon3 differ in their way of telling cache information
*
*/
-int leon_flush_needed(void)
+int __init leon_flush_needed(void)
{
int flush_needed = -1;
unsigned int ssize, sets;
--
1.7.3.4
^ permalink raw reply related [flat|nested] 7+ messages in thread* Re: [PATCH] sparc32,leon: Added __init declaration to leon_flush_needed()
2011-05-11 12:10 [PATCH] sparc32,leon: Added __init declaration to leon_flush_needed() Matthias Rosenfelder
` (3 preceding siblings ...)
2011-06-13 17:04 ` [PATCH] sparc32,leon: Added __init declaration to leon_flush_needed() Matthias Rosenfelder
@ 2011-06-13 17:08 ` Matthias Rosenfelder
2011-07-06 15:02 ` [PATCH] sparc32,leon: Added __init declaration to David Miller
5 siblings, 0 replies; 7+ messages in thread
From: Matthias Rosenfelder @ 2011-06-13 17:08 UTC (permalink / raw)
To: sparclinux
I reconfigured my email client, tested it by sending the patch
to myself first, saved the received mail and was able to apply
it successfully. I hope this will also work for you.
Thank you again for your time and patience.
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [PATCH] sparc32,leon: Added __init declaration to
2011-05-11 12:10 [PATCH] sparc32,leon: Added __init declaration to leon_flush_needed() Matthias Rosenfelder
` (4 preceding siblings ...)
2011-06-13 17:08 ` Matthias Rosenfelder
@ 2011-07-06 15:02 ` David Miller
5 siblings, 0 replies; 7+ messages in thread
From: David Miller @ 2011-07-06 15:02 UTC (permalink / raw)
To: sparclinux
From: Matthias Rosenfelder <rosenfelder.lkml@googlemail.com>
Date: Mon, 13 Jun 2011 19:04:05 +0200
> The function leon_flush_needed() is called only during bootup from another
> __init function. Therefore, we can also add __init to leon_flush_needed().
>
> Signed-off-by: Matthias Rosenfelder <rosenfelder.lkml@googlemail.com>
> Acked-by: Daniel Hellstrom <daniel@gaisler.com>
Applied.
^ permalink raw reply [flat|nested] 7+ messages in thread