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:
e0802b8
)
memblock: replace alloc_bootmem_low with memblock_alloc_low
author
Mike Rapoport
<
[email protected]
>
Tue, 30 Oct 2018 22:08:12 +0000
(15:08 -0700)
committer
Linus Torvalds
<
[email protected]
>
Wed, 31 Oct 2018 15:54:15 +0000
(08:54 -0700)
The functions are equivalent, just the later does not require nobootmem
translation layer.
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Mike Rapoport <
[email protected]
>
Acked-by: Michal Hocko <
[email protected]
>
Cc: Catalin Marinas <
[email protected]
>
Cc: Chris Zankel <
[email protected]
>
Cc: "David S. Miller" <
[email protected]
>
Cc: Geert Uytterhoeven <
[email protected]
>
Cc: Greentime Hu <
[email protected]
>
Cc: Greg Kroah-Hartman <
[email protected]
>
Cc: Guan Xuetao <
[email protected]
>
Cc: Ingo Molnar <
[email protected]
>
Cc: "James E.J. Bottomley" <
[email protected]
>
Cc: Jonas Bonn <
[email protected]
>
Cc: Jonathan Corbet <
[email protected]
>
Cc: Ley Foon Tan <
[email protected]
>
Cc: Mark Salter <
[email protected]
>
Cc: Martin Schwidefsky <
[email protected]
>
Cc: Matt Turner <
[email protected]
>
Cc: Michael Ellerman <
[email protected]
>
Cc: Michal Simek <
[email protected]
>
Cc: Palmer Dabbelt <
[email protected]
>
Cc: Paul Burton <
[email protected]
>
Cc: Richard Kuo <
[email protected]
>
Cc: Richard Weinberger <
[email protected]
>
Cc: Rich Felker <
[email protected]
>
Cc: Russell King <
[email protected]
>
Cc: Serge Semin <
[email protected]
>
Cc: Thomas Gleixner <
[email protected]
>
Cc: Tony Luck <
[email protected]
>
Cc: Vineet Gupta <
[email protected]
>
Cc: Yoshinori Sato <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
arch/x86/kernel/tce_64.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/tce_64.c
b/arch/x86/kernel/tce_64.c
index f386bad0984ed70f89a432d89b6d90f28bb4eaee..54c9b5a696b1c54f834c5e82743375611e33d821 100644
(file)
--- a/
arch/x86/kernel/tce_64.c
+++ b/
arch/x86/kernel/tce_64.c
@@
-173,7
+173,7
@@
void * __init alloc_tce_table(void)
size = table_size_to_number_of_entries(specified_table_size);
size *= TCE_ENTRY_SIZE;
- return
__alloc_bootmem_low(size, size, 0
);
+ return
memblock_alloc_low(size, size
);
}
void __init free_tce_table(void *tbl)