]> git.baikalelectronics.ru Git - kernel.git/commit
x86/intel_rdt: Switch to bitmap_zalloc()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 30 Aug 2018 11:50:39 +0000 (14:50 +0300)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 3 Oct 2018 19:53:49 +0000 (21:53 +0200)
commit02ef91e822e7ebd1b7c00ad29b0cab3e5c832c72
treec63ec0faaf21a67e7dc883459a6ae5a1cbb6f7b0
parent6637f2e116c66617550b52c8c27c97c8eba0a076
x86/intel_rdt: Switch to bitmap_zalloc()

Switch to bitmap_zalloc() to show clearly what is allocated. Besides that
it returns a pointer of bitmap type instead of opaque void *.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Fenghua Yu <fenghua.yu@intel.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Link: https://lkml.kernel.org/r/20180830115039.63430-1-andriy.shevchenko@linux.intel.com
arch/x86/kernel/cpu/intel_rdt.c