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)
commit82159876d32b7959c0b0ea8fe12c428f41502a6f
treec63ec0faaf21a67e7dc883459a6ae5a1cbb6f7b0
parent53ed74af05517cf5fe83d87c4bb7ab998adfd631
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