]> err.no Git - linux-2.6/blobdiff - kernel/lockdep.c
[NETFILTER]: nf_conntrack_ftp: fix missing helper mask initilization
[linux-2.6] / kernel / lockdep.c
index b739be2a6dc9adff9eb6a471a0044bbeedb54976..c9fefdb1a7db45df9658dd32d963e7f28bbdfdf4 100644 (file)
@@ -1081,7 +1081,8 @@ static int static_obj(void *obj)
         */
        for_each_possible_cpu(i) {
                start = (unsigned long) &__per_cpu_start + per_cpu_offset(i);
-               end   = (unsigned long) &__per_cpu_end   + per_cpu_offset(i);
+               end   = (unsigned long) &__per_cpu_start + PERCPU_ENOUGH_ROOM
+                                       + per_cpu_offset(i);
 
                if ((addr >= start) && (addr < end))
                        return 1;