Skip to content
Snippets Groups Projects
Commit 9a9979e3 authored by Jonathan Hanks's avatar Jonathan Hanks
Browse files

Fix init/exit function names and printks for rts-cpu-isolator

 * rename from ligo_rt_* to rts_cpu_isolator_*
parent ea97f818
No related branches found
No related tags found
1 merge request!439RCG 5.0 release fro deb 10
...@@ -44,22 +44,22 @@ ligo_play_dead( void ) ...@@ -44,22 +44,22 @@ ligo_play_dead( void )
} }
static int static int
ligo_rt_init( void ) rts_cpu_isolator_init( void )
{ {
original_play_dead_handler = smp_ops.play_dead; original_play_dead_handler = smp_ops.play_dead;
printk( KERN_ALERT "ligo_rt_init. Handler was %p\n", smp_ops.play_dead ); printk( KERN_ALERT "rts_cpu_isolator_init. Handler was %p\n", smp_ops.play_dead );
smp_ops.play_dead = ligo_play_dead; smp_ops.play_dead = ligo_play_dead;
printk( KERN_ALERT "Handler is now %p", smp_ops.play_dead ); printk( KERN_ALERT "Handler is now %p", smp_ops.play_dead );
return 0; return 0;
} }
static void static void
ligo_rt_exit( void ) rts_cpu_isolator_exit( void )
{ {
smp_ops.play_dead = original_play_dead_handler; smp_ops.play_dead = original_play_dead_handler;
printk( KERN_ALERT "ligo_rt_exit. Handler restored to %p\n", printk( KERN_ALERT "rts_cpu_isolator_exit. Handler restored to %p\n",
smp_ops.play_dead ); smp_ops.play_dead );
} }
module_init( ligo_rt_init ); module_init( rts_cpu_isolator_init );
module_exit( ligo_rt_exit ); module_exit( rts_cpu_isolator_exit );
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment