diff options
author | Vlastimil Babka <vbabka@suse.cz> | 2023-02-28 10:35:56 +0100 |
---|---|---|
committer | Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> | 2023-03-01 23:46:12 +0900 |
commit | c120c98486c2855d2ae266c2af63d26f61dfcc4e (patch) | |
tree | 28196d06b82533e0143a66b02be2634a2e1d124a /kernel | |
parent | c0927a7a5391f7d8e593e5e50ead7505a23cadf9 (diff) |
tomoyo: replace tomoyo_round2() with kmalloc_size_roundup()
It seems tomoyo has had its own implementation of what
kmalloc_size_roundup() does today. Remove the function tomoyo_round2()
and replace it with kmalloc_size_roundup(). It provides more accurate
results and doesn't contain a while loop.
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions