Re: [PATCH] x86: Hide the int3_emulate_call/jmp functions from UML

2019-05-20 Thread Steven Rostedt
On Mon, 20 May 2019 09:08:01 +0100 Anton Ivanov wrote: > On 11/05/2019 13:39, Steven Rostedt wrote: > > > > From: "Steven Rostedt (VMware)" > > > > User Mode Linux does not have access to the ip or sp fields of the > > pt_regs, and accessing them causes UML to fail to build. Hide the > > int3_

Re: [PATCH] x86: Hide the int3_emulate_call/jmp functions from UML

2019-05-20 Thread Anton Ivanov
On 11/05/2019 13:39, Steven Rostedt wrote: From: "Steven Rostedt (VMware)" User Mode Linux does not have access to the ip or sp fields of the pt_regs, and accessing them causes UML to fail to build. Hide the int3_emulate_jmp() and int3_emulate_call() instructions from UML, as it doesn't nee

[PATCH] x86: Hide the int3_emulate_call/jmp functions from UML

2019-05-11 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" User Mode Linux does not have access to the ip or sp fields of the pt_regs, and accessing them causes UML to fail to build. Hide the int3_emulate_jmp() and int3_emulate_call() instructions from UML, as it doesn't need them anyway. Reported-by: kbuild test robot