Patchwork sparc32,leon: Added __init declaration to leon_flush_needed()

login
register
mail settings
Submitter Matthias Rosenfelder
Date May 11, 2011, 12:10 p.m.
Message ID <4DCA7CCC.7050404@googlemail.com>
Download mbox | patch
Permalink /patch/95163/
State Changes Requested
Delegated to: David Miller
Headers show

Comments

Matthias Rosenfelder - May 11, 2011, 12:10 p.m.
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>
---
  arch/sparc/mm/leon_mm.c |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

--
1.6.4.2
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
David Miller - May 16, 2011, 8:33 p.m.
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.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Matthias Rosenfelder - June 6, 2011, 11:24 p.m.
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.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
David Miller - June 6, 2011, 11:29 p.m.
You don't need to ask us, there is help in the kernel tree:

Documentation/email-clients.txt
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

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;