]> 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)
commit93fff05075bd8849e26347633799db88ae76c8ee
treec63ec0faaf21a67e7dc883459a6ae5a1cbb6f7b0
parent18277cd2a8ef407e5648e2f90917427b22a57e99
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