diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/huge_memory.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mm/huge_memory.c b/mm/huge_memory.c index 32754eece63e..9e894edc7811 100644 --- a/mm/huge_memory.c +++ b/mm/huge_memory.c | |||
@@ -574,19 +574,19 @@ static int __init hugepage_init_sysfs(struct kobject **hugepage_kobj) | |||
574 | 574 | ||
575 | *hugepage_kobj = kobject_create_and_add("transparent_hugepage", mm_kobj); | 575 | *hugepage_kobj = kobject_create_and_add("transparent_hugepage", mm_kobj); |
576 | if (unlikely(!*hugepage_kobj)) { | 576 | if (unlikely(!*hugepage_kobj)) { |
577 | printk(KERN_ERR "hugepage: failed kobject create\n"); | 577 | printk(KERN_ERR "hugepage: failed to create transparent hugepage kobject\n"); |
578 | return -ENOMEM; | 578 | return -ENOMEM; |
579 | } | 579 | } |
580 | 580 | ||
581 | err = sysfs_create_group(*hugepage_kobj, &hugepage_attr_group); | 581 | err = sysfs_create_group(*hugepage_kobj, &hugepage_attr_group); |
582 | if (err) { | 582 | if (err) { |
583 | printk(KERN_ERR "hugepage: failed register hugeage group\n"); | 583 | printk(KERN_ERR "hugepage: failed to register transparent hugepage group\n"); |
584 | goto delete_obj; | 584 | goto delete_obj; |
585 | } | 585 | } |
586 | 586 | ||
587 | err = sysfs_create_group(*hugepage_kobj, &khugepaged_attr_group); | 587 | err = sysfs_create_group(*hugepage_kobj, &khugepaged_attr_group); |
588 | if (err) { | 588 | if (err) { |
589 | printk(KERN_ERR "hugepage: failed register hugeage group\n"); | 589 | printk(KERN_ERR "hugepage: failed to register transparent hugepage group\n"); |
590 | goto remove_hp_group; | 590 | goto remove_hp_group; |
591 | } | 591 | } |
592 | 592 | ||