mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
0b73214f8a
It's good to have SPDX identifiers in all files to make it easier to audit the kernel tree for correct licenses. Update the remaining arch/s390/ files with the correct SPDX license identifier based on the license text in the file itself. The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text. This work is based on a script and data from Thomas Gleixner, Philippe Ombredanne, and Kate Stewart. Cc: Martin Schwidefsky <schwidefsky@de.ibm.com> Cc: Heiko Carstens <heiko.carstens@de.ibm.com> Cc: Christian Borntraeger <borntraeger@de.ibm.com> Cc: Cornelia Huck <cohuck@redhat.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Kate Stewart <kstewart@linuxfoundation.org> Cc: Philippe Ombredanne <pombredanne@nexb.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
34 lines
721 B
C
34 lines
721 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* livepatch.h - s390-specific Kernel Live Patching Core
|
|
*
|
|
* Copyright (c) 2013-2015 SUSE
|
|
* Authors: Jiri Kosina
|
|
* Vojtech Pavlik
|
|
* Jiri Slaby
|
|
*/
|
|
|
|
/*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public License as published by the Free
|
|
* Software Foundation; either version 2 of the License, or (at your option)
|
|
* any later version.
|
|
*/
|
|
|
|
#ifndef ASM_LIVEPATCH_H
|
|
#define ASM_LIVEPATCH_H
|
|
|
|
#include <asm/ptrace.h>
|
|
|
|
static inline int klp_check_compiler_support(void)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
static inline void klp_arch_set_pc(struct pt_regs *regs, unsigned long ip)
|
|
{
|
|
regs->psw.addr = ip;
|
|
}
|
|
|
|
#endif
|