kernel/fork.c:1537:17: warning: unused variable 'regs'
Quoted 9 lines · Fengguang Wu
Hi Al,
FYI, there are new compile warnings show up in
tree: git://git.kernel.org/pub/scm/linux/kernel/git/viro/signal.git for-benh head: db72ef193372fdaf2b607434ae55dc345655ffaa commit: db72ef193372fdaf2b607434ae55dc345655ffaa [4/4] don't bother with idle_regs() config: x86_64-allyesdebian (attached as .config)
Quoted 4 lines
All warnings:
kernel/fork.c: In function 'fork_idle':kernel/fork.c:1537:17: warning: unused variable 'regs' [-Wunused-variable]
I know; that's just a quick and dirty way to get ppc copy_process() step on the kernel-thread path for idle threads. Longer term I want to kill fork_idle() completely, along with the regs argument for copy_thread().