Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 333008
b: refs/heads/master
c: 4dcc2a4
h: refs/heads/master
v: v3
  • Loading branch information
Sebastian Ott authored and Martin Schwidefsky committed Oct 9, 2012
1 parent 38b54b8 commit a836510
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9be5f34f3f00828dfe4012578b6467a31f408eab
refs/heads/master: 4dcc2a4d6c37c36155ea6d6305f15e599531b862
10 changes: 5 additions & 5 deletions trunk/arch/s390/include/asm/chpid.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright IBM Corp. 2007
* Copyright IBM Corp. 2007, 2012
* Author(s): Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
*/

Expand All @@ -12,10 +12,10 @@
#define __MAX_CHPID 255

struct chp_id {
u8 reserved1;
u8 cssid;
u8 reserved2;
u8 id;
__u8 reserved1;
__u8 cssid;
__u8 reserved2;
__u8 id;
} __attribute__((packed));

#ifdef __KERNEL__
Expand Down
10 changes: 6 additions & 4 deletions trunk/arch/s390/include/asm/chsc.h
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
/*
* ioctl interface for /dev/chsc
*
* Copyright IBM Corp. 2008
* Copyright IBM Corp. 2008, 2012
* Author(s): Cornelia Huck <cornelia.huck@de.ibm.com>
*/

#ifndef _ASM_CHSC_H
#define _ASM_CHSC_H

#include <linux/types.h>
#include <linux/ioctl.h>
#include <asm/chpid.h>
#include <asm/schid.h>

#define CHSC_SIZE 0x1000

struct chsc_async_header {
__u16 length;
__u16 code;
Expand All @@ -23,15 +26,14 @@ struct chsc_async_header {

struct chsc_async_area {
struct chsc_async_header header;
__u8 data[PAGE_SIZE - 16 /* size of chsc_async_header */];
__u8 data[CHSC_SIZE - sizeof(struct chsc_async_header)];
} __attribute__ ((packed));


struct chsc_response_struct {
__u16 length;
__u16 code;
__u32 parms;
__u8 data[PAGE_SIZE - 8];
__u8 data[CHSC_SIZE - 2 * sizeof(__u16) - sizeof(__u32)];
} __attribute__ ((packed));

struct chsc_chp_cd {
Expand Down

0 comments on commit a836510

Please sign in to comment.