#ifndef CPUSCHED_H #define CPUSCHED_H extern void init_cpusched(unsigned int cpus); extern unsigned int socket_to_cpu(int fd); extern unsigned int register_socket(int fd); extern void unregister_socket(int fd); extern void destroy_cpusched(void); #endif /* CPUSCHED_H */ /git.distanz.ch/cgit.cgi/linux/net-next.git/atom/samples/livepatch?h=master' type='application/atom+xml'/>
summaryrefslogtreecommitdiff
path: root/samples/livepatch
diff options
context:
space:
mode:
authorJosh Poimboeuf <jpoimboe@redhat.com>2014-12-22 13:39:54 +0100
committerJiri Kosina <jkosina@suse.cz>2014-12-22 20:05:59 +0100
commit33e8612f64d4973ae3617a01224ec02b7b879597 (patch)
treebcaceb6ab504869d4eedf46b549c963bf9b1e19c /samples/livepatch
parentb5bfc51707f1b56b0b733980bb4fcc0562bf02d8 (diff)
livepatch: use FTRACE_OPS_FL_IPMODIFY
Use the FTRACE_OPS_FL_IPMODIFY flag to prevent conflicts with other ftrace users who also modify regs->ip. Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com> Reviewed-by: Petr Mladek <pmladek@suse.cz> Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'samples/livepatch')