forked from luck/tmp_suning_uos_patched
include/asm-x86/kprobes.h: checkpatch cleanups - formatting only
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
b69a3f9dc0
commit
864dfa13be
|
@ -35,12 +35,12 @@ typedef u8 kprobe_opcode_t;
|
|||
#define RELATIVEJUMP_INSTRUCTION 0xe9
|
||||
#define MAX_INSN_SIZE 16
|
||||
#define MAX_STACK_SIZE 64
|
||||
#define MIN_STACK_SIZE(ADDR) (((MAX_STACK_SIZE) < \
|
||||
(((unsigned long)current_thread_info()) + THREAD_SIZE \
|
||||
- (unsigned long)(ADDR))) \
|
||||
? (MAX_STACK_SIZE) \
|
||||
: (((unsigned long)current_thread_info()) + THREAD_SIZE \
|
||||
- (unsigned long)(ADDR)))
|
||||
#define MIN_STACK_SIZE(ADDR) \
|
||||
(((MAX_STACK_SIZE) < (((unsigned long)current_thread_info()) + \
|
||||
THREAD_SIZE - (unsigned long)(ADDR))) \
|
||||
? (MAX_STACK_SIZE) \
|
||||
: (((unsigned long)current_thread_info()) + \
|
||||
THREAD_SIZE - (unsigned long)(ADDR)))
|
||||
|
||||
#define flush_insn_slot(p) do { } while (0)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user