kernel/samples/hw_breakpoint/data_breakpoint.c
.. .. @@ -70,7 +70,9 @@ 70 70 static void __exit hw_break_module_exit(void) 71 71 { 72 72 unregister_wide_hw_breakpoint(sample_hbp); 73 - symbol_put(ksym_name);73 +#ifdef CONFIG_MODULE_UNLOAD74 + __symbol_put(ksym_name);75 +#endif74 76 printk(KERN_INFO "HW Breakpoint for %s write uninstalled\n", ksym_name); 75 77 } 76 78