]> Git Repo - linux.git/commitdiff
sparc32,leon: Added __init declaration to leon_flush_needed()
authorMatthias Rosenfelder <[email protected]>
Mon, 13 Jun 2011 07:04:05 +0000 (07:04 +0000)
committerDavid S. Miller <[email protected]>
Wed, 6 Jul 2011 15:01:52 +0000 (08:01 -0700)
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 <[email protected]>
Acked-by: Daniel Hellstrom <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
arch/sparc/mm/leon_mm.c

index c0e01297e64eb84a03b8582e135c616b7c129ba0..e485a680499824319b5e9bd6fb750806d99a9429 100644 (file)
@@ -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;
This page took 0.055213 seconds and 4 git commands to generate.