powerpc set_huge_psize() false positive
called only from __init, calls __init. Incidentally, it ought to be static in file. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
@@ -677,7 +677,7 @@ repeat:
|
||||
return err;
|
||||
}
|
||||
|
||||
void set_huge_psize(int psize)
|
||||
static void __init set_huge_psize(int psize)
|
||||
{
|
||||
/* Check that it is a page size supported by the hardware and
|
||||
* that it fits within pagetable limits. */
|
||||
|
Reference in New Issue
Block a user