mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 05:04:09 +08:00
ia64: convert use of typedef ctl_table to struct ctl_table
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
37649de239
commit
2841efa636
@ -237,7 +237,7 @@ kdump_init_notifier(struct notifier_block *self, unsigned long val, void *data)
|
||||
}
|
||||
|
||||
#ifdef CONFIG_SYSCTL
|
||||
static ctl_table kdump_ctl_table[] = {
|
||||
static struct ctl_table kdump_ctl_table[] = {
|
||||
{
|
||||
.procname = "kdump_on_init",
|
||||
.data = &kdump_on_init,
|
||||
@ -255,7 +255,7 @@ static ctl_table kdump_ctl_table[] = {
|
||||
{ }
|
||||
};
|
||||
|
||||
static ctl_table sys_table[] = {
|
||||
static struct ctl_table sys_table[] = {
|
||||
{
|
||||
.procname = "kernel",
|
||||
.mode = 0555,
|
||||
|
@ -521,7 +521,7 @@ static pmu_config_t *pmu_conf;
|
||||
pfm_sysctl_t pfm_sysctl;
|
||||
EXPORT_SYMBOL(pfm_sysctl);
|
||||
|
||||
static ctl_table pfm_ctl_table[]={
|
||||
static struct ctl_table pfm_ctl_table[] = {
|
||||
{
|
||||
.procname = "debug",
|
||||
.data = &pfm_sysctl.debug,
|
||||
@ -552,7 +552,7 @@ static ctl_table pfm_ctl_table[]={
|
||||
},
|
||||
{}
|
||||
};
|
||||
static ctl_table pfm_sysctl_dir[] = {
|
||||
static struct ctl_table pfm_sysctl_dir[] = {
|
||||
{
|
||||
.procname = "perfmon",
|
||||
.mode = 0555,
|
||||
@ -560,7 +560,7 @@ static ctl_table pfm_sysctl_dir[] = {
|
||||
},
|
||||
{}
|
||||
};
|
||||
static ctl_table pfm_sysctl_root[] = {
|
||||
static struct ctl_table pfm_sysctl_root[] = {
|
||||
{
|
||||
.procname = "kernel",
|
||||
.mode = 0555,
|
||||
|
Loading…
Reference in New Issue
Block a user