| Submitter | Matthias Rosenfelder |
|---|---|
| Date | June 13, 2011, 5:04 p.m. |
| Message ID | <4DF64305.3080509@googlemail.com> |
| Download | mbox | patch |
| Permalink | /patch/100170/ |
| State | Accepted |
| Delegated to: | David Miller |
| Headers | show |
Comments
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. -- 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
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. -- 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;