mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zipl/boot: Fix typos
Reviewed-by: Mikhail Zaslonko <zaslonko@linux.ibm.com> Reviewed-by: Stefan Haberland <sth@linux.ibm.com> Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
b1c1bea4e2
commit
86ce85b3a6
@@ -93,7 +93,7 @@ struct pmcw {
|
||||
uint32_t intparm; /* interruption parameter */
|
||||
uint32_t qf:1;
|
||||
uint32_t w:1;
|
||||
uint32_t isc:3; /* interruption sublass */
|
||||
uint32_t isc:3; /* interruption subclass */
|
||||
uint32_t res5:3; /* reserved zeros */
|
||||
uint32_t ena:1; /* enabled */
|
||||
uint32_t lm:2; /* limit mode */
|
||||
|
||||
@@ -102,7 +102,7 @@ static unsigned long dt_dump_mem_compressed(unsigned long addr,
|
||||
if (zlib_deflateInit2(&strm, 1, Z_DEFLATED, MAX_WBITS,
|
||||
DEF_MEM_LEVEL, Z_DEFAULT_STRATEGY) != Z_OK) {
|
||||
/*
|
||||
* Could not allocate or initialyze a workarea for zlib deflate,
|
||||
* Could not allocate or initialize a workarea for zlib deflate,
|
||||
* continue dumping without compression.
|
||||
*/
|
||||
printf("Deflate initialization failed! Dumping without compression");
|
||||
|
||||
@@ -159,7 +159,7 @@ unsigned long write_compressed_dump_segment(unsigned long blk,
|
||||
segm->entry_count++;
|
||||
segm->entry_offset[i] = (uint32_t)offset;
|
||||
/*
|
||||
* Compression was ineffective or compression error ocurred,
|
||||
* Compression was ineffective or compression error occurred,
|
||||
* data chunk has benn written uncompressed.
|
||||
*/
|
||||
if (rc == UNCOMPRESSED || rc == COMPRESSION_ERROR)
|
||||
|
||||
@@ -145,7 +145,7 @@ void sclp_hsa_copy_init(void *dest_addr)
|
||||
__sclp_hsa_copy(sccb, dest_addr, 2, 1);
|
||||
/* Check buffer that was filled by sclp_hsa_copy */
|
||||
if (sccb->evbuf.event_status != 0) {
|
||||
/* Use synchonous mode */
|
||||
/* Use synchronous mode */
|
||||
hsa_sync_mode = 1;
|
||||
free_page((unsigned long) sccb);
|
||||
return;
|
||||
|
||||
@@ -157,7 +157,7 @@ unsigned long find_dump_segment(unsigned long start, unsigned long end,
|
||||
unsigned long addr, limit;
|
||||
|
||||
memset(dump_segm, 0, sizeof(*dump_segm));
|
||||
/* Check the input values for MB alingment */
|
||||
/* Check the input values for MB alignment */
|
||||
if (!IS_ALIGNED(start, MIB) || !IS_ALIGNED(max_len, MIB))
|
||||
panic(EINTERNAL, "start or max_len not MB aligned");
|
||||
/* Search for dump segment start */
|
||||
@@ -298,7 +298,7 @@ static void copy_lowcore_64(void)
|
||||
|
||||
prefix = S390_lowcore.prefixreg_save_area;
|
||||
|
||||
/* Need memcpy because of aligment problem of members */
|
||||
/* Need memcpy because of alignment problem of members */
|
||||
memcpy(&cpu_cnt, real_cpu_cnt_ptr, sizeof(cpu_cnt));
|
||||
cpu_cnt++;
|
||||
memcpy(real_cpu_cnt_ptr, &cpu_cnt, sizeof(cpu_cnt));
|
||||
|
||||
@@ -208,7 +208,7 @@ iplstart:
|
||||
clc 0(3,%r12),.L_hdr # if it is HDRx
|
||||
bz .Lagain0 # skip dataset header
|
||||
clc 0(3,%r12),.L_eof # if it is EOFx
|
||||
bz .Lagain0 # skip dateset trailer
|
||||
bz .Lagain0 # skip dataset trailer
|
||||
|
||||
st %r2,.Lkernsize # store size for later use
|
||||
|
||||
@@ -247,7 +247,7 @@ iplstart:
|
||||
clc 0(3,%r4),.L_hdr # if it is HDRx
|
||||
bz .Lagain1 # skip dataset header
|
||||
clc 0(3,%r4),.L_eof # if it is EOFx
|
||||
bz .Lagain1 # skip dateset trailer
|
||||
bz .Lagain1 # skip dataset trailer
|
||||
|
||||
l %r3,MAX_COMMAND_LINE_SIZE-PARMAREA+4(%r12)
|
||||
ltr %r3,%r3
|
||||
|
||||
Reference in New Issue
Block a user