commit | b3fa64170e21393b5790be89ab16cdfe1f5bddbc | [log] [tgz] |
---|---|---|
author | Matthew Wilcox <willy@infradead.org> | Mon Jun 18 08:26:32 2018 -0400 |
committer | Matthew Wilcox <willy@infradead.org> | Tue Aug 21 23:54:18 2018 -0400 |
tree | 0d7edeef4e67be73e0c5f66b2ea9ee5a577c0810 | |
parent | 6e77cc471090a2f37802cb328bffe4ce56f4ce18 [diff] |
ppc: Convert mmu context allocation to new IDA API ida_alloc_range is the perfect fit for this use case. Eliminates a custom spinlock, a call to ida_pre_get and a local check for the allocated ID exceeding a maximum. Signed-off-by: Matthew Wilcox <willy@infradead.org> Reviewed-by: Nicholas Piggin <npiggin@gmail.com>