tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tmp.tmp2 head: adcceb5eb7aee38e4a9c15bdf599655f0e1b1324 commit: 0e04b3ebeb185beeb77ebc6f70f6a5eef9ecdb3d [42/364] sched/headers: Convert task_struct::thread to a per_task() field config: powerpc-allyesconfig (attached as .config) compiler: powerpc64-linux-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=0e04b3ebeb185beeb77ebc6f70f6a5eef9ecdb3d git remote add tip https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git git fetch --no-tags tip tmp.tmp2 git checkout 0e04b3ebeb185beeb77ebc6f70f6a5eef9ecdb3d # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): | ^~~~~~~~~ include/asm-generic/preempt.h:11:40: error: invalid type argument of '->' (have 'int') 11 | return READ_ONCE(current_thread_info()->preempt_count); | ^~ include/linux/compiler_types.h:308:9: note: in definition of macro '__compiletime_assert' 308 | if (!(condition)) \ | ^~~~~~~~~ include/linux/compiler_types.h:328:2: note: in expansion of macro '_compiletime_assert' 328 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ include/asm-generic/rwonce.h:36:2: note: in expansion of macro 'compiletime_assert' 36 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \ | ^~~~~~~~~~~~~~~~~~ include/asm-generic/rwonce.h:36:21: note: in expansion of macro '__native_word' 36 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \ | ^~~~~~~~~~~~~ include/asm-generic/rwonce.h:49:2: note: in expansion of macro 'compiletime_assert_rwonce_type' 49 | compiletime_assert_rwonce_type(x); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/asm-generic/preempt.h:11:9: note: in expansion of macro 'READ_ONCE' 11 | return READ_ONCE(current_thread_info()->preempt_count); | ^~~~~~~~~ include/asm-generic/preempt.h:11:40: error: invalid type argument of '->' (have 'int') 11 | return READ_ONCE(current_thread_info()->preempt_count); | ^~ include/linux/compiler_types.h:308:9: note: in definition of macro '__compiletime_assert' 308 | if (!(condition)) \ | ^~~~~~~~~ include/linux/compiler_types.h:328:2: note: in expansion of macro '_compiletime_assert' 328 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ include/asm-generic/rwonce.h:36:2: note: in expansion of macro 'compiletime_assert' 36 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \ | ^~~~~~~~~~~~~~~~~~ include/asm-generic/rwonce.h:49:2: note: in expansion of macro 'compiletime_assert_rwonce_type' 49 | compiletime_assert_rwonce_type(x); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/asm-generic/preempt.h:11:9: note: in expansion of macro 'READ_ONCE' 11 | return READ_ONCE(current_thread_info()->preempt_count); | ^~~~~~~~~ include/asm-generic/preempt.h:11:40: error: invalid type argument of '->' (have 'int') 11 | return READ_ONCE(current_thread_info()->preempt_count); | ^~ include/linux/compiler_types.h:279:13: note: in definition of macro '__unqual_scalar_typeof' 279 | _Generic((x), \ | ^ include/asm-generic/rwonce.h:50:2: note: in expansion of macro '__READ_ONCE' 50 | __READ_ONCE(x); \ | ^~~~~~~~~~~ include/asm-generic/preempt.h:11:9: note: in expansion of macro 'READ_ONCE' 11 | return READ_ONCE(current_thread_info()->preempt_count); | ^~~~~~~~~ In file included from ./arch/powerpc/include/generated/asm/rwonce.h:1, from include/linux/compiler.h:248, from include/asm-generic/div64.h:27, from ./arch/powerpc/include/generated/asm/div64.h:1, from include/linux/math64.h:7, from include/linux/time.h:6, from include/linux/compat.h:10, from arch/powerpc/kernel/asm-offsets.c:14: include/asm-generic/preempt.h:11:40: error: invalid type argument of '->' (have 'int') 11 | return READ_ONCE(current_thread_info()->preempt_count); | ^~ include/asm-generic/rwonce.h:44:72: note: in definition of macro '__READ_ONCE' 44 | #define __READ_ONCE(x) (*(const volatile __unqual_scalar_typeof(x) *)&(x)) | ^ include/asm-generic/preempt.h:11:9: note: in expansion of macro 'READ_ONCE' 11 | return READ_ONCE(current_thread_info()->preempt_count); | ^~~~~~~~~ In file included from ./arch/powerpc/include/generated/asm/preempt.h:1, from include/linux/preempt.h:80, from include/linux/spinlock.h:53, from include/linux/wait.h:12, from include/linux/wait_bit.h:8, from include/linux/fs.h:8, from include/linux/compat.h:17, from arch/powerpc/kernel/asm-offsets.c:14: include/asm-generic/preempt.h: In function 'preempt_count_ptr': include/asm-generic/preempt.h:16:31: error: invalid type argument of '->' (have 'int') 16 | return ¤t_thread_info()->preempt_count; | ^~ include/asm-generic/preempt.h: In function '__preempt_count_dec_and_test': include/asm-generic/preempt.h:69:36: error: implicit declaration of function 'tif_need_resched' [-Werror=implicit-function-declaration] 69 | return !--*preempt_count_ptr() && tif_need_resched(); | ^~~~~~~~~~~~~~~~ In file included from arch/powerpc/include/asm/kup.h:18, from arch/powerpc/include/asm/uaccess.h:9, from include/linux/uaccess.h:12, from include/linux/sched/task.h:11, from include/linux/sched/signal.h:11, from include/linux/rcuwait.h:6, from include/linux/percpu-rwsem.h:7, from include/linux/fs.h:35, from include/linux/compat.h:17, from arch/powerpc/kernel/asm-offsets.c:14: arch/powerpc/include/asm/book3s/64/kup.h: In function 'current_thread_amr': arch/powerpc/include/asm/book3s/64/kup.h:217:6: error: implicit declaration of function 'task_thread'; did you mean 'start_thread'? [-Werror=implicit-function-declaration] 217 | if (task_thread(current).regs) | ^~~~~~~~~~~ | start_thread >> arch/powerpc/include/asm/book3s/64/kup.h:217:26: error: request for member 'regs' in something not a structure or union 217 | if (task_thread(current).regs) | ^ arch/powerpc/include/asm/book3s/64/kup.h:218:30: error: request for member 'regs' in something not a structure or union 218 | return task_thread(current).regs->amr; | ^ arch/powerpc/include/asm/book3s/64/kup.h: In function 'current_thread_iamr': arch/powerpc/include/asm/book3s/64/kup.h:224:26: error: request for member 'regs' in something not a structure or union 224 | if (task_thread(current).regs) | ^ arch/powerpc/include/asm/book3s/64/kup.h:225:30: error: request for member 'regs' in something not a structure or union 225 | return task_thread(current).regs->iamr; | ^ In file included from : include/linux/sched/task.h: In function 'arch_thread_struct_whitelist': include/linux/compiler_types.h:140:35: error: 'struct task_struct' has no member named 'thread' 140 | #define __compiler_offsetof(a, b) __builtin_offsetof(a, b) | ^~~~~~~~~~~~~~~~~~ include/linux/stddef.h:17:32: note: in expansion of macro '__compiler_offsetof' 17 | #define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER) | ^~~~~~~~~~~~~~~~~~~ include/linux/sched/task.h:140:34: note: in expansion of macro 'offsetof' 140 | *size = arch_task_struct_size - offsetof(struct task_struct, thread); | ^~~~~~~~ In file included from include/linux/sched/signal.h:12, from include/linux/rcuwait.h:6, from include/linux/percpu-rwsem.h:7, from include/linux/fs.h:35, from include/linux/compat.h:17, from arch/powerpc/kernel/asm-offsets.c:14: include/linux/sched/thread_info_api.h: At top level: include/linux/sched/thread_info_api.h:38:35: error: conflicting types for 'current_thread_info' 38 | static inline struct thread_info *current_thread_info(void) | ^~~~~~~~~~~~~~~~~~~ In file included from include/linux/thread_info.h:50, from include/linux/uio.h:9, from include/linux/socket.h:8, from include/linux/compat.h:15, from arch/powerpc/kernel/asm-offsets.c:14: arch/powerpc/include/asm/thread_info.h:156:27: note: previous implicit declaration of 'current_thread_info' was here 156 | struct thread_info *ti = current_thread_info(); | ^~~~~~~~~~~~~~~~~~~ In file included from include/linux/compat.h:22, from arch/powerpc/kernel/asm-offsets.c:14: arch/powerpc/include/asm/compat.h: In function 'arch_compat_alloc_user_space': arch/powerpc/include/asm/compat.h:99:45: error: request for member 'regs' in something not a structure or union 99 | struct pt_regs *regs = task_thread(current).regs; | ^ In file included from arch/powerpc/kernel/asm-offsets.c:29: arch/powerpc/kernel/asm-offsets.c: In function 'main': include/linux/compiler_types.h:140:35: error: 'struct task_struct' has no member named 'thread' 140 | #define __compiler_offsetof(a, b) __builtin_offsetof(a, b) | ^~~~~~~~~~~~~~~~~~ include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE' 6 | asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val)) | ^~~ include/linux/stddef.h:17:32: note: in expansion of macro '__compiler_offsetof' 17 | #define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER) | ^~~~~~~~~~~~~~~~~~~ include/linux/kbuild.h:11:14: note: in expansion of macro 'offsetof' 11 | DEFINE(sym, offsetof(struct str, mem)) | ^~~~~~~~ arch/powerpc/kernel/asm-offsets.c:81:2: note: in expansion of macro 'OFFSET' 81 | OFFSET(THREAD, task_struct, thread); | ^~~~~~ include/linux/compiler_types.h:140:35: error: 'struct task_struct' has no member named 'thread_info' 140 | #define __compiler_offsetof(a, b) __builtin_offsetof(a, b) | ^~~~~~~~~~~~~~~~~~ include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE' 6 | asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val)) | ^~~ include/linux/stddef.h:17:32: note: in expansion of macro '__compiler_offsetof' 17 | #define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER) | ^~~~~~~~~~~~~~~~~~~ arch/powerpc/kernel/asm-offsets.c:206:6: note: in expansion of macro 'offsetof' 206 | offsetof(struct task_struct, thread_info)); | ^~~~~~~~ cc1: some warnings being treated as errors -- | ^~~~~~~~~ include/asm-generic/preempt.h:11:40: error: invalid type argument of '->' (have 'int') 11 | return READ_ONCE(current_thread_info()->preempt_count); | ^~ include/linux/compiler_types.h:308:9: note: in definition of macro '__compiletime_assert' 308 | if (!(condition)) \ | ^~~~~~~~~ include/linux/compiler_types.h:328:2: note: in expansion of macro '_compiletime_assert' 328 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ include/asm-generic/rwonce.h:36:2: note: in expansion of macro 'compiletime_assert' 36 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \ | ^~~~~~~~~~~~~~~~~~ include/asm-generic/rwonce.h:36:21: note: in expansion of macro '__native_word' 36 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \ | ^~~~~~~~~~~~~ include/asm-generic/rwonce.h:49:2: note: in expansion of macro 'compiletime_assert_rwonce_type' 49 | compiletime_assert_rwonce_type(x); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/asm-generic/preempt.h:11:9: note: in expansion of macro 'READ_ONCE' 11 | return READ_ONCE(current_thread_info()->preempt_count); | ^~~~~~~~~ include/asm-generic/preempt.h:11:40: error: invalid type argument of '->' (have 'int') 11 | return READ_ONCE(current_thread_info()->preempt_count); | ^~ include/linux/compiler_types.h:308:9: note: in definition of macro '__compiletime_assert' 308 | if (!(condition)) \ | ^~~~~~~~~ include/linux/compiler_types.h:328:2: note: in expansion of macro '_compiletime_assert' 328 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ include/asm-generic/rwonce.h:36:2: note: in expansion of macro 'compiletime_assert' 36 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \ | ^~~~~~~~~~~~~~~~~~ include/asm-generic/rwonce.h:49:2: note: in expansion of macro 'compiletime_assert_rwonce_type' 49 | compiletime_assert_rwonce_type(x); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/asm-generic/preempt.h:11:9: note: in expansion of macro 'READ_ONCE' 11 | return READ_ONCE(current_thread_info()->preempt_count); | ^~~~~~~~~ include/asm-generic/preempt.h:11:40: error: invalid type argument of '->' (have 'int') 11 | return READ_ONCE(current_thread_info()->preempt_count); | ^~ include/linux/compiler_types.h:279:13: note: in definition of macro '__unqual_scalar_typeof' 279 | _Generic((x), \ | ^ include/asm-generic/rwonce.h:50:2: note: in expansion of macro '__READ_ONCE' 50 | __READ_ONCE(x); \ | ^~~~~~~~~~~ include/asm-generic/preempt.h:11:9: note: in expansion of macro 'READ_ONCE' 11 | return READ_ONCE(current_thread_info()->preempt_count); | ^~~~~~~~~ In file included from ./arch/powerpc/include/generated/asm/rwonce.h:1, from include/linux/compiler.h:248, from include/asm-generic/div64.h:27, from ./arch/powerpc/include/generated/asm/div64.h:1, from include/linux/math64.h:7, from include/linux/time.h:6, from include/linux/compat.h:10, from arch/powerpc/kernel/asm-offsets.c:14: include/asm-generic/preempt.h:11:40: error: invalid type argument of '->' (have 'int') 11 | return READ_ONCE(current_thread_info()->preempt_count); | ^~ include/asm-generic/rwonce.h:44:72: note: in definition of macro '__READ_ONCE' 44 | #define __READ_ONCE(x) (*(const volatile __unqual_scalar_typeof(x) *)&(x)) | ^ include/asm-generic/preempt.h:11:9: note: in expansion of macro 'READ_ONCE' 11 | return READ_ONCE(current_thread_info()->preempt_count); | ^~~~~~~~~ In file included from ./arch/powerpc/include/generated/asm/preempt.h:1, from include/linux/preempt.h:80, from include/linux/spinlock.h:53, from include/linux/wait.h:12, from include/linux/wait_bit.h:8, from include/linux/fs.h:8, from include/linux/compat.h:17, from arch/powerpc/kernel/asm-offsets.c:14: include/asm-generic/preempt.h: In function 'preempt_count_ptr': include/asm-generic/preempt.h:16:31: error: invalid type argument of '->' (have 'int') 16 | return ¤t_thread_info()->preempt_count; | ^~ include/asm-generic/preempt.h: In function '__preempt_count_dec_and_test': include/asm-generic/preempt.h:69:36: error: implicit declaration of function 'tif_need_resched' [-Werror=implicit-function-declaration] 69 | return !--*preempt_count_ptr() && tif_need_resched(); | ^~~~~~~~~~~~~~~~ In file included from arch/powerpc/include/asm/kup.h:18, from arch/powerpc/include/asm/uaccess.h:9, from include/linux/uaccess.h:12, from include/linux/sched/task.h:11, from include/linux/sched/signal.h:11, from include/linux/rcuwait.h:6, from include/linux/percpu-rwsem.h:7, from include/linux/fs.h:35, from include/linux/compat.h:17, from arch/powerpc/kernel/asm-offsets.c:14: arch/powerpc/include/asm/book3s/64/kup.h: In function 'current_thread_amr': arch/powerpc/include/asm/book3s/64/kup.h:217:6: error: implicit declaration of function 'task_thread'; did you mean 'start_thread'? [-Werror=implicit-function-declaration] 217 | if (task_thread(current).regs) | ^~~~~~~~~~~ | start_thread >> arch/powerpc/include/asm/book3s/64/kup.h:217:26: error: request for member 'regs' in something not a structure or union 217 | if (task_thread(current).regs) | ^ arch/powerpc/include/asm/book3s/64/kup.h:218:30: error: request for member 'regs' in something not a structure or union 218 | return task_thread(current).regs->amr; | ^ arch/powerpc/include/asm/book3s/64/kup.h: In function 'current_thread_iamr': arch/powerpc/include/asm/book3s/64/kup.h:224:26: error: request for member 'regs' in something not a structure or union 224 | if (task_thread(current).regs) | ^ arch/powerpc/include/asm/book3s/64/kup.h:225:30: error: request for member 'regs' in something not a structure or union 225 | return task_thread(current).regs->iamr; | ^ In file included from : include/linux/sched/task.h: In function 'arch_thread_struct_whitelist': include/linux/compiler_types.h:140:35: error: 'struct task_struct' has no member named 'thread' 140 | #define __compiler_offsetof(a, b) __builtin_offsetof(a, b) | ^~~~~~~~~~~~~~~~~~ include/linux/stddef.h:17:32: note: in expansion of macro '__compiler_offsetof' 17 | #define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER) | ^~~~~~~~~~~~~~~~~~~ include/linux/sched/task.h:140:34: note: in expansion of macro 'offsetof' 140 | *size = arch_task_struct_size - offsetof(struct task_struct, thread); | ^~~~~~~~ In file included from include/linux/sched/signal.h:12, from include/linux/rcuwait.h:6, from include/linux/percpu-rwsem.h:7, from include/linux/fs.h:35, from include/linux/compat.h:17, from arch/powerpc/kernel/asm-offsets.c:14: include/linux/sched/thread_info_api.h: At top level: include/linux/sched/thread_info_api.h:38:35: error: conflicting types for 'current_thread_info' 38 | static inline struct thread_info *current_thread_info(void) | ^~~~~~~~~~~~~~~~~~~ In file included from include/linux/thread_info.h:50, from include/linux/uio.h:9, from include/linux/socket.h:8, from include/linux/compat.h:15, from arch/powerpc/kernel/asm-offsets.c:14: arch/powerpc/include/asm/thread_info.h:156:27: note: previous implicit declaration of 'current_thread_info' was here 156 | struct thread_info *ti = current_thread_info(); | ^~~~~~~~~~~~~~~~~~~ In file included from include/linux/compat.h:22, from arch/powerpc/kernel/asm-offsets.c:14: arch/powerpc/include/asm/compat.h: In function 'arch_compat_alloc_user_space': arch/powerpc/include/asm/compat.h:99:45: error: request for member 'regs' in something not a structure or union 99 | struct pt_regs *regs = task_thread(current).regs; | ^ In file included from arch/powerpc/kernel/asm-offsets.c:29: arch/powerpc/kernel/asm-offsets.c: In function 'main': include/linux/compiler_types.h:140:35: error: 'struct task_struct' has no member named 'thread' 140 | #define __compiler_offsetof(a, b) __builtin_offsetof(a, b) | ^~~~~~~~~~~~~~~~~~ include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE' 6 | asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val)) | ^~~ include/linux/stddef.h:17:32: note: in expansion of macro '__compiler_offsetof' 17 | #define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER) | ^~~~~~~~~~~~~~~~~~~ include/linux/kbuild.h:11:14: note: in expansion of macro 'offsetof' 11 | DEFINE(sym, offsetof(struct str, mem)) | ^~~~~~~~ arch/powerpc/kernel/asm-offsets.c:81:2: note: in expansion of macro 'OFFSET' 81 | OFFSET(THREAD, task_struct, thread); | ^~~~~~ include/linux/compiler_types.h:140:35: error: 'struct task_struct' has no member named 'thread_info' 140 | #define __compiler_offsetof(a, b) __builtin_offsetof(a, b) | ^~~~~~~~~~~~~~~~~~ include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE' 6 | asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val)) | ^~~ include/linux/stddef.h:17:32: note: in expansion of macro '__compiler_offsetof' 17 | #define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER) | ^~~~~~~~~~~~~~~~~~~ arch/powerpc/kernel/asm-offsets.c:206:6: note: in expansion of macro 'offsetof' 206 | offsetof(struct task_struct, thread_info)); | ^~~~~~~~ cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:117: arch/powerpc/kernel/asm-offsets.s] Error 1 make[2]: Target '__build' not remade because of errors. make[1]: *** [Makefile:1232: prepare0] Error 2 make[1]: Target 'modules_prepare' not remade because of errors. make: *** [Makefile:215: __sub-make] Error 2 make: Target 'modules_prepare' not remade because of errors. .. vim +/regs +217 arch/powerpc/include/asm/book3s/64/kup.h 68b34588e2027f arch/powerpc/include/asm/book3s/64/kup-radix.h Nicholas Piggin 2020-02-26 208 8c511eff182723 arch/powerpc/include/asm/book3s/64/kup.h Aneesh Kumar K.V 2021-02-06 209 /* usage of kthread_use_mm() should inherit the 8c511eff182723 arch/powerpc/include/asm/book3s/64/kup.h Aneesh Kumar K.V 2021-02-06 210 * AMR value of the operating address space. But, the AMR value is 8c511eff182723 arch/powerpc/include/asm/book3s/64/kup.h Aneesh Kumar K.V 2021-02-06 211 * thread-specific and we inherit the address space and not thread 8c511eff182723 arch/powerpc/include/asm/book3s/64/kup.h Aneesh Kumar K.V 2021-02-06 212 * access restrictions. Because of this ignore AMR value when accessing 8c511eff182723 arch/powerpc/include/asm/book3s/64/kup.h Aneesh Kumar K.V 2021-02-06 213 * userspace via kernel thread. 48a8ab4eeb8271 arch/powerpc/include/asm/book3s/64/kup.h Aneesh Kumar K.V 2020-11-27 214 */ 48a8ab4eeb8271 arch/powerpc/include/asm/book3s/64/kup.h Aneesh Kumar K.V 2020-11-27 215 static inline u64 current_thread_amr(void) 48a8ab4eeb8271 arch/powerpc/include/asm/book3s/64/kup.h Aneesh Kumar K.V 2020-11-27 216 { 62c86dcbb11b4c arch/powerpc/include/asm/book3s/64/kup.h Ingo Molnar 2021-06-13 @217 if (task_thread(current).regs) 62c86dcbb11b4c arch/powerpc/include/asm/book3s/64/kup.h Ingo Molnar 2021-06-13 218 return task_thread(current).regs->amr; 8c511eff182723 arch/powerpc/include/asm/book3s/64/kup.h Aneesh Kumar K.V 2021-02-06 219 return default_amr; 48a8ab4eeb8271 arch/powerpc/include/asm/book3s/64/kup.h Aneesh Kumar K.V 2020-11-27 220 } 48a8ab4eeb8271 arch/powerpc/include/asm/book3s/64/kup.h Aneesh Kumar K.V 2020-11-27 221 :::::: The code at line 217 was first introduced by commit :::::: 62c86dcbb11b4cc62b2407dc70e8cefda6e46bfe sched/headers: Automated conversion of task->thread accessors to task_thread() :::::: TO: Ingo Molnar :::::: CC: Ingo Molnar --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org