Re: [PATCH] locking_selftest: Save/restore migrate_disable_atomic in locking selftest

From: kbuild test robot
Date: Mon Nov 23 2015 - 02:31:18 EST


Hi Jianchuan,

[auto build test ERROR on: v4.4-rc2]
[also build test ERROR on: next-20151120]

url: https://github.com/0day-ci/linux/commits/jianchuan-wang-windriver-com/locking_selftest-Save-restore-migrate_disable_atomic-in-locking-selftest/20151123-152217
config: x86_64-randconfig-x013-11230343 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

lib/locking-selftest.c: In function 'dotest':
>> lib/locking-selftest.c:981:25: error: 'struct task_struct' has no member named 'migrate_disable_atomic'
save_migrate_atomic = p->migrate_disable_atomic;
^
lib/locking-selftest.c:987:3: error: 'struct task_struct' has no member named 'migrate_disable_atomic'
p->migrate_disable_atomic = save_migrate_atomic;
^

vim +981 lib/locking-selftest.c

975 int save_migrate_atomic;
976 #endif
977
978 WARN_ON(irqs_disabled());
979
980 #ifdef CONFIG_SCHED_DEBUG
> 981 save_migrate_atomic = p->migrate_disable_atomic;
982 #endif
983
984 testcase_fn();

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data