diff options
author | Chang S. Bae <chang.seok.bae@intel.com> | 2021-10-21 15:55:07 -0700 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2021-10-26 10:18:09 +0200 |
commit | 84e4dccc8fce20b497388d756e12de5c9006eb48 (patch) | |
tree | 4dd53a75557ed02fe93248718fffa5d0fa3d017a /scripts/gdb/linux/utils.py | |
parent | 3aac3ebea08f2d342364f827c8979ab0e1dd591e (diff) | |
download | linux-84e4dccc8fce20b497388d756e12de5c9006eb48.tar.gz linux-84e4dccc8fce20b497388d756e12de5c9006eb48.tar.bz2 linux-84e4dccc8fce20b497388d756e12de5c9006eb48.zip |
x86/fpu/xstate: Provide xstate_calculate_size()
Split out the size calculation from the paranoia check so it can be used
for recalculating buffer sizes when dynamically enabled features are
supported.
Signed-off-by: Chang S. Bae <chang.seok.bae@intel.com>
[ tglx: Adopted to changed base code ]
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Chang S. Bae <chang.seok.bae@intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20211021225527.10184-4-chang.seok.bae@intel.com
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions