mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
AMD IOMMU v2: minor cleanup
Despite this array living in an __init function, having such be an automatic variable is rather inefficient in terms of generated code. Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Wei Wang2 <wei.wang2@amd.com>
This commit is contained in:
1 parent
04c520cde5
commit
df32a79d0e
1 file changed
+1
-1
@@ -66,7 +66,7 @@ void __init get_iommu_features(struct amd_iommu *iommu)
|
||||
{
|
||||
u32 low, high;
|
||||
int i = 0 ;
|
||||
char * feature_str[] = {
|
||||
static const char *__initdata feature_str[] = {
|
||||
"- Prefetch Pages Command",
|
||||
"- Peripheral Page Service Request",
|
||||
"- X2APIC Supported",
|
||||
|
||||