Commit 6d999da4 authored by Matthias Rosenfelder's avatar Matthias Rosenfelder Committed by David S. Miller

sparc32,leon: Added __init declaration to leon_flush_needed()

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: default avatarMatthias Rosenfelder <rosenfelder.lkml@googlemail.com>
Acked-by: default avatarDaniel Hellstrom <daniel@gaisler.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 18d85bc5
...@@ -226,7 +226,7 @@ void leon3_getCacheRegs(struct leon3_cacheregs *regs) ...@@ -226,7 +226,7 @@ void leon3_getCacheRegs(struct leon3_cacheregs *regs)
* Leon2 and Leon3 differ in their way of telling cache information * 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; int flush_needed = -1;
unsigned int ssize, sets; unsigned int ssize, sets;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment