|
@@ -1081,7 +1081,8 @@ static int static_obj(void *obj)
|
|
*/
|
|
*/
|
|
for_each_possible_cpu(i) {
|
|
for_each_possible_cpu(i) {
|
|
start = (unsigned long) &__per_cpu_start + per_cpu_offset(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))
|
|
if ((addr >= start) && (addr < end))
|
|
return 1;
|
|
return 1;
|