x86/intel_rdt: Organize code properly
authorThomas Gleixner <tglx@linutronix.de>
Fri, 14 Apr 2017 12:07:47 +0000 (14:07 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 14 Apr 2017 14:10:06 +0000 (16:10 +0200)
commit70a1ee92564d079b4c7a375b244a6c849b81f12f
tree87a0702b4612bddb958b47923c56530ad84ae93a
parent06b57e4550d400c2e7dcafbde6fdb1fcb6fcdcee
x86/intel_rdt: Organize code properly

Having init functions at random places in the middle of the code is
unintuitive.

Move them close to the init routine and mark them __init.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: ravi.v.shankar@intel.com
Cc: tony.luck@intel.com
Cc: fenghua.yu@intel.com
Cc: vikas.shivappa@intel.com
arch/x86/kernel/cpu/intel_rdt.c