projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df994ea
)
hugetlb: hugetlb_register_all_nodes(): add __init marker
author
Luiz Capitulino
<
[email protected]
>
Sat, 13 Dec 2014 00:55:24 +0000
(16:55 -0800)
committer
Linus Torvalds
<
[email protected]
>
Sat, 13 Dec 2014 20:42:47 +0000
(12:42 -0800)
This function is only called during initialization.
Signed-off-by: Luiz Capitulino <
[email protected]
>
Cc: Andi Kleen <
[email protected]
>
Acked-by: David Rientjes <
[email protected]
>
Cc: Rik van Riel <
[email protected]
>
Cc: Yasuaki Ishimatsu <
[email protected]
>
Cc: Yinghai Lu <
[email protected]
>
Cc: Davidlohr Bueso <
[email protected]
>
Acked-by: Naoya Horiguchi <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
mm/hugetlb.c
patch
|
blob
|
history
diff --git
a/mm/hugetlb.c
b/mm/hugetlb.c
index 452a4e53623772167d1d9d3ef53bd32aab964409..47f6070d7c46fa5d631c5ceeb64b9a31ab2553cf 100644
(file)
--- a/
mm/hugetlb.c
+++ b/
mm/hugetlb.c
@@
-2083,7
+2083,7
@@
static void hugetlb_register_node(struct node *node)
* devices of nodes that have memory. All on-line nodes should have
* registered their associated device by this time.
*/
-static void hugetlb_register_all_nodes(void)
+static void
__init
hugetlb_register_all_nodes(void)
{
int nid;