[IA64] Fix typo/thinko in arch/ia64/sn/kernel/sn2/sn2_smp.c
authorRandy Dunlap <randy.dunlap@oracle.com>
Wed, 1 Apr 2009 16:26:12 +0000 (09:26 -0700)
committerTony Luck <tony.luck@intel.com>
Wed, 1 Apr 2009 16:26:12 +0000 (09:26 -0700)
sn2_ptc_init() has what looks like a cut-n-paste error. Fix it.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/sn/kernel/sn2/sn2_smp.c

index 3c2f242d90cb97794022acb0e956971b24337188..1176506b2baeb780e5cad3ba08cb533c54a801d8 100644 (file)
@@ -554,7 +554,7 @@ static int __init sn2_ptc_init(void)
 
        proc_sn2_ptc = proc_create(PTC_BASENAME, 0444,
                                   NULL, &proc_sn2_ptc_operations);
-       if (!&proc_sn2_ptc_operations) {
+       if (!proc_sn2_ptc) {
                printk(KERN_ERR "unable to create %s proc entry", PTC_BASENAME);
                return -EINVAL;
        }