summaryrefslogtreecommitdiff
path: root/include/linux/kernel.h
diff options
context:
space:
mode:
authorBin Meng <[email protected]>2015-10-11 21:37:39 -0700
committerSimon Glass <[email protected]>2015-10-21 07:46:27 -0600
commited800961a019240208de4ee5662d6f02381a18aa (patch)
tree1fc7d5f5eb2d033a74598d85bea44e0086461c20 /include/linux/kernel.h
parentbfa95c538b8b7d9384141f3c88021aa9d941ba54 (diff)
x86: Add more common routines to manipulate mrc cache
This adds mrccache_reserve(), mrccache_get_region() and mrccache_save() APIs to the mrccache codes. They are ported from the ivybridge implementation, but with some changes. For example, in the mrccache_reserve(), ivybridge version only reserves the pure MRC data, which causes additional malloc() when saving the cache as the save API needs some meta data. Now we change it to save the whole MRC date plus the meta data to elinimate the need for the malloc() later. Signed-off-by: Bin Meng <[email protected]> Acked-by: Simon Glass <[email protected]>
Diffstat (limited to 'include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions