]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
sysctl-add-support-for-poll-fix
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 5 Oct 2011 00:43:57 +0000 (11:43 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 11 Oct 2011 08:44:18 +0000 (19:44 +1100)
s/declare/define/ for definitions

Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Greg KH <gregkh@suse.de>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Lucas De Marchi <lucas.demarchi@profusion.mobi>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/sysctl.h
kernel/utsname_sysctl.c

index 4f505b7a9b26c085b569a346a46150fd8de81fe0..703cfa33a3ca60c79111ba3808f228c8f1f7b505 100644 (file)
@@ -1029,7 +1029,7 @@ void proc_sys_poll_notify(struct ctl_table_poll *poll);
        .event = ATOMIC_INIT(0),                                        \
        .wait = __WAIT_QUEUE_HEAD_INITIALIZER(name.wait) }
 
-#define DECLARE_CTL_TABLE_POLL(name)                                   \
+#define DEFINE_CTL_TABLE_POLL(name)                                    \
        struct ctl_table_poll name = __CTL_TABLE_POLL_INITIALIZER(name)
 
 /* A sysctl table is an array of struct ctl_table: */
index 79603f6d52bd7bc862413676e797f733efc8cfe4..63da38c2d820920b270cc2f469b965e445fecc05 100644 (file)
@@ -62,8 +62,8 @@ static int proc_do_uts_string(ctl_table *table, int write,
 #define proc_do_uts_string NULL
 #endif
 
-static DECLARE_CTL_TABLE_POLL(hostname_poll);
-static DECLARE_CTL_TABLE_POLL(domainname_poll);
+static DEFINE_CTL_TABLE_POLL(hostname_poll);
+static DEFINE_CTL_TABLE_POLL(domainname_poll);
 
 static struct ctl_table uts_kern_table[] = {
        {