Skip to content

Commit cfbddd0

Browse files
sravnborgdavem330
authored andcommitted
sparc64: fix sparse warning in prom_64.c
Fix following warning: prom_64.c:376:6: warning: symbol 'arch_find_n_match_cpu_physical_id' was not declared. Should it be static? Add missing include to pick up prototype. Rearrange includes to use the inverse christmas tree structure. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent f1eabec commit cfbddd0

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎arch/sparc/kernel/prom_64.c‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,12 @@
1515
* 2 of the License, or (at your option) any later version.
1616
*/
1717

18+
#include <linux/memblock.h>
1819
#include <linux/kernel.h>
19-
#include <linux/types.h>
2020
#include <linux/string.h>
21+
#include <linux/types.h>
22+
#include <linux/cpu.h>
2123
#include <linux/mm.h>
22-
#include <linux/memblock.h>
2324
#include <linux/of.h>
2425

2526
#include <asm/prom.h>

0 commit comments

Comments
 (0)