summaryrefslogtreecommitdiffstats
path: root/include/asm-s390x
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2001-04-05 04:55:58 +0000
committerRalf Baechle <ralf@linux-mips.org>2001-04-05 04:55:58 +0000
commit74a9f2e1b4d3ab45a9f72cb5b556c9f521524ab3 (patch)
tree7c4cdb103ab1b388c9852a88bd6fb1e73eba0b5c /include/asm-s390x
parentee6374c8b0d333c08061c6a97bc77090d7461225 (diff)
Merge with Linux 2.4.3.
Note that mingetty does no longer work with serial console, you have to switch to another getty like getty_ps. This commit also includes a fix for a setitimer bug which did prevent getty_ps from working on older kernels.
Diffstat (limited to 'include/asm-s390x')
-rw-r--r--include/asm-s390x/ccwcache.h2
-rw-r--r--include/asm-s390x/dasd.h4
-rw-r--r--include/asm-s390x/lowcore.h2
-rw-r--r--include/asm-s390x/socket.h1
-rw-r--r--include/asm-s390x/unistd.h1
5 files changed, 5 insertions, 5 deletions
diff --git a/include/asm-s390x/ccwcache.h b/include/asm-s390x/ccwcache.h
index cfbb03bf2..fd5efa10d 100644
--- a/include/asm-s390x/ccwcache.h
+++ b/include/asm-s390x/ccwcache.h
@@ -59,7 +59,7 @@ typedef struct ccw_req_t {
#define CQR_STATUS_FILLED 0x01 /* request is ready to be preocessed */
#define CQR_STATUS_QUEUED 0x02 /* request is queued to be processed */
#define CQR_STATUS_IN_IO 0x03 /* request is currently in IO */
-#define CQR_STATUS_DONE 0x04 /* request is completed sucessfully */
+#define CQR_STATUS_DONE 0x04 /* request is completed successfully */
#define CQR_STATUS_ERROR 0x05 /* request is completed with error */
#define CQR_STATUS_FAILED 0x06 /* request is finally failed */
diff --git a/include/asm-s390x/dasd.h b/include/asm-s390x/dasd.h
index d9e4a8363..ea5e43eae 100644
--- a/include/asm-s390x/dasd.h
+++ b/include/asm-s390x/dasd.h
@@ -203,7 +203,7 @@ struct request;
typedef ccw_req_t *(*dasd_erp_action_fn_t) (ccw_req_t * cqr);
typedef ccw_req_t *(*dasd_erp_postaction_fn_t) (ccw_req_t * cqr);
-typedef int (*dasd_ck_id_fn_t) (dev_info_t *);
+typedef int (*dasd_ck_id_fn_t) (s390_dev_info_t *);
typedef int (*dasd_ck_characteristics_fn_t) (struct dasd_device_t *);
typedef int (*dasd_fill_geometry_fn_t) (struct dasd_device_t *, struct hd_geometry *);
typedef ccw_req_t *(*dasd_format_fn_t) (struct dasd_device_t *, struct format_data_t *);
@@ -269,7 +269,7 @@ typedef struct dasd_profile_info_t {
} dasd_profile_info_t;
typedef struct dasd_device_t {
- dev_info_t devinfo;
+ s390_dev_info_t devinfo;
dasd_discipline_t *discipline;
int level;
int open_count;
diff --git a/include/asm-s390x/lowcore.h b/include/asm-s390x/lowcore.h
index 215b8b8e0..fe03e6351 100644
--- a/include/asm-s390x/lowcore.h
+++ b/include/asm-s390x/lowcore.h
@@ -116,7 +116,7 @@ struct _lowcore
__u8 pad3[0xc8-0xc4]; /* 0x0c4 */
__u32 stfl_fac_list; /* 0x0c8 */
__u8 pad4[0xe8-0xcc]; /* 0x0cc */
- __u32 mcck_interuption_code[2]; /* 0x0e8 */
+ __u32 mcck_interruption_code[2]; /* 0x0e8 */
__u8 pad5[0xf4-0xf0]; /* 0x0f0 */
__u32 external_damage_code; /* 0x0f4 */
addr_t failing_storage_address; /* 0x0f8 */
diff --git a/include/asm-s390x/socket.h b/include/asm-s390x/socket.h
index 0d00c3b54..e78379203 100644
--- a/include/asm-s390x/socket.h
+++ b/include/asm-s390x/socket.h
@@ -50,6 +50,7 @@
#define SO_PEERNAME 28
#define SO_TIMESTAMP 29
#define SCM_TIMESTAMP SO_TIMESTAMP
+#define SO_ACCEPTCONN 30
/* Nast libc5 fixup - bletch */
#if defined(__KERNEL__)
diff --git a/include/asm-s390x/unistd.h b/include/asm-s390x/unistd.h
index 1ac8474ee..090fe68de 100644
--- a/include/asm-s390x/unistd.h
+++ b/include/asm-s390x/unistd.h
@@ -330,7 +330,6 @@ static inline _syscall1(int,_exit,int,exitcode)
static inline _syscall1(int,delete_module,const char *,name)
static inline _syscall2(long,stat,char *,filename,struct stat *,statbuf)
-extern int sys_wait4(int, int *, int, struct rusage *);
static inline pid_t waitpid(int pid, int * wait_stat, int flags)
{
return sys_wait4(pid, wait_stat, flags, NULL);