mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-29 07:04:10 +08:00
a53c8fab3f
Remove the file name from the comment at top of many files. In most cases the file name was wrong anyway, so it's rather pointless. Also unify the IBM copyright statement. We did have a lot of sightly different statements and wanted to change them one after another whenever a file gets touched. However that never happened. Instead people start to take the old/"wrong" statements to use as a template for new files. So unify all of them in one go. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
41 lines
1.0 KiB
C
41 lines
1.0 KiB
C
/*
|
|
* SCLP control programm identification
|
|
*
|
|
* Copyright IBM Corp. 2001, 2007
|
|
* Author(s): Martin Peschke <mpeschke@de.ibm.com>
|
|
* Michael Ernst <mernst@de.ibm.com>
|
|
*/
|
|
|
|
#include <linux/kmod.h>
|
|
#include <linux/module.h>
|
|
#include <linux/moduleparam.h>
|
|
#include <linux/version.h>
|
|
#include "sclp_cpi_sys.h"
|
|
|
|
MODULE_LICENSE("GPL");
|
|
MODULE_DESCRIPTION("Identify this operating system instance "
|
|
"to the System z hardware");
|
|
MODULE_AUTHOR("Martin Peschke <mpeschke@de.ibm.com>, "
|
|
"Michael Ernst <mernst@de.ibm.com>");
|
|
|
|
static char *system_name = "";
|
|
static char *sysplex_name = "";
|
|
|
|
module_param(system_name, charp, 0);
|
|
MODULE_PARM_DESC(system_name, "e.g. hostname - max. 8 characters");
|
|
module_param(sysplex_name, charp, 0);
|
|
MODULE_PARM_DESC(sysplex_name, "if applicable - max. 8 characters");
|
|
|
|
static int __init cpi_module_init(void)
|
|
{
|
|
return sclp_cpi_set_data(system_name, sysplex_name, "LINUX",
|
|
LINUX_VERSION_CODE);
|
|
}
|
|
|
|
static void __exit cpi_module_exit(void)
|
|
{
|
|
}
|
|
|
|
module_init(cpi_module_init);
|
|
module_exit(cpi_module_exit);
|