1 /* Copyright (C) 2008 Jeffrey Brian Arnold <jbarnold@mit.edu>
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License, version 2.
6 * This program is distributed in the hope that it will be useful,
7 * but WITHOUT ANY WARRANTY; without even the implied warranty of
8 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9 * GNU General Public License for more details.
11 * You should have received a copy of the GNU General Public License
12 * along with this program; if not, write to the Free Software
13 * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
19 MODULE_LICENSE("GPL v2");
21 #define _PASTE(x, y) x##y
22 #define PASTE(x, y) _PASTE(x, y)
23 #define KSPLICE_UNIQ(s) PASTE(s##_, KSPLICE_ID)
25 extern struct ksplice_reloc ksplice_relocs
;
26 extern struct ksplice_size ksplice_sizes
;
28 /* Defined in primary.c */
29 extern int KSPLICE_UNIQ(helper_init_module
) (struct ksplice_reloc
*,
30 struct ksplice_size
*);
34 return KSPLICE_UNIQ(helper_init_module
) (&ksplice_relocs
,
38 void cleanup_module(void)