Commit 78a74485 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

Revert "lockdep: fix incorrect percpu usage"

This reverts commit b6b3dcd5.

It should not have been applied to the .32 kernel tree
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 7b7a917a
......@@ -591,9 +591,9 @@ static int static_obj(void *obj)
* percpu var?
*/
for_each_possible_cpu(i) {
start = (unsigned long) per_cpu_ptr(&__per_cpu_start, i);
end = (unsigned long) per_cpu_ptr(&__per_cpu_start, i)
+ PERCPU_ENOUGH_ROOM;
start = (unsigned long) &__per_cpu_start + per_cpu_offset(i);
end = (unsigned long) &__per_cpu_start + PERCPU_ENOUGH_ROOM
+ per_cpu_offset(i);
if ((addr >= start) && (addr < end))
return 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment