Blame kmod/patch/patch-hook.c
|
Packit Service |
ac8aad |
/*
|
|
Packit Service |
ac8aad |
* Copyright (C) 2015 Seth Jennings <sjenning@redhat.com>
|
|
Packit Service |
ac8aad |
*
|
|
Packit Service |
ac8aad |
* This program is free software; you can redistribute it and/or
|
|
Packit Service |
ac8aad |
* modify it under the terms of the GNU General Public License
|
|
Packit Service |
ac8aad |
* as published by the Free Software Foundation; either version 2
|
|
Packit Service |
ac8aad |
* of the License, or (at your option) any later version.
|
|
Packit Service |
ac8aad |
*
|
|
Packit Service |
ac8aad |
* This program is distributed in the hope that it will be useful,
|
|
Packit Service |
ac8aad |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
ac8aad |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
Packit Service |
ac8aad |
* GNU General Public License for more details.
|
|
Packit Service |
ac8aad |
*
|
|
Packit Service |
ac8aad |
* You should have received a copy of the GNU General Public License
|
|
Packit Service |
ac8aad |
* along with this program; if not, write to the Free Software
|
|
Packit Service |
ac8aad |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA,
|
|
Packit Service |
ac8aad |
* 02110-1301, USA.
|
|
Packit Service |
ac8aad |
*/
|
|
Packit Service |
ac8aad |
|
|
Packit Service |
ac8aad |
#if IS_ENABLED(CONFIG_LIVEPATCH)
|
|
Packit Service |
ac8aad |
#include "livepatch-patch-hook.c"
|
|
Packit Service |
ac8aad |
#else
|
|
Packit Service |
ac8aad |
#include "kpatch-patch-hook.c"
|
|
Packit Service |
ac8aad |
#endif
|
|
Packit Service |
ac8aad |
|