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:
Jan Beulich committed 2011-12-02 14:22:47 +01:00
1 parent 04c520cde5
commit df32a79d0e
1 file changed
+1 -1
+1 -1
View File
@@ -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",
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.