diff options
| -rw-r--r-- | arch/sh/kernel/traps_64.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/sh/kernel/traps_64.c b/arch/sh/kernel/traps_64.c index 267e5ebbb475..080c8ee2d862 100644 --- a/arch/sh/kernel/traps_64.c +++ b/arch/sh/kernel/traps_64.c | |||
| @@ -877,7 +877,6 @@ static int misaligned_fixup(struct pt_regs *regs) | |||
| 877 | 877 | ||
| 878 | static ctl_table unaligned_table[] = { | 878 | static ctl_table unaligned_table[] = { |
| 879 | { | 879 | { |
| 880 | .ctl_name = CTL_UNNUMBERED, | ||
| 881 | .procname = "kernel_reports", | 880 | .procname = "kernel_reports", |
| 882 | .data = &kernel_mode_unaligned_fixup_count, | 881 | .data = &kernel_mode_unaligned_fixup_count, |
| 883 | .maxlen = sizeof(int), | 882 | .maxlen = sizeof(int), |
| @@ -885,7 +884,6 @@ static ctl_table unaligned_table[] = { | |||
| 885 | .proc_handler = &proc_dointvec | 884 | .proc_handler = &proc_dointvec |
| 886 | }, | 885 | }, |
| 887 | { | 886 | { |
| 888 | .ctl_name = CTL_UNNUMBERED, | ||
| 889 | .procname = "user_reports", | 887 | .procname = "user_reports", |
| 890 | .data = &user_mode_unaligned_fixup_count, | 888 | .data = &user_mode_unaligned_fixup_count, |
| 891 | .maxlen = sizeof(int), | 889 | .maxlen = sizeof(int), |
| @@ -893,7 +891,6 @@ static ctl_table unaligned_table[] = { | |||
| 893 | .proc_handler = &proc_dointvec | 891 | .proc_handler = &proc_dointvec |
| 894 | }, | 892 | }, |
| 895 | { | 893 | { |
| 896 | .ctl_name = CTL_UNNUMBERED, | ||
| 897 | .procname = "user_enable", | 894 | .procname = "user_enable", |
| 898 | .data = &user_mode_unaligned_fixup_enable, | 895 | .data = &user_mode_unaligned_fixup_enable, |
| 899 | .maxlen = sizeof(int), | 896 | .maxlen = sizeof(int), |
| @@ -904,17 +901,15 @@ static ctl_table unaligned_table[] = { | |||
| 904 | 901 | ||
| 905 | static ctl_table unaligned_root[] = { | 902 | static ctl_table unaligned_root[] = { |
| 906 | { | 903 | { |
| 907 | .ctl_name = CTL_UNNUMBERED, | ||
| 908 | .procname = "unaligned_fixup", | 904 | .procname = "unaligned_fixup", |
| 909 | .mode = 0555, | 905 | .mode = 0555, |
| 910 | unaligned_table | 906 | .child = unaligned_table |
| 911 | }, | 907 | }, |
| 912 | {} | 908 | {} |
| 913 | }; | 909 | }; |
| 914 | 910 | ||
| 915 | static ctl_table sh64_root[] = { | 911 | static ctl_table sh64_root[] = { |
| 916 | { | 912 | { |
| 917 | .ctl_name = CTL_UNNUMBERED, | ||
| 918 | .procname = "sh64", | 913 | .procname = "sh64", |
| 919 | .mode = 0555, | 914 | .mode = 0555, |
| 920 | .child = unaligned_root | 915 | .child = unaligned_root |
