mirror of
https://github.com/adulau/aha.git
synced 2024-12-30 20:56:23 +00:00
[S390] remove packed attribute from ext_int_info_t.
ext_int_info_t is no longer used in entry(64).S Instead do_extint is a C function that handles the hash search. As the structure is handled in C code, we can also remove the packed attribute to avoid alignment issues. (Currently there is no alignment problem in ext_int_info_t, even if packet) Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
This commit is contained in:
parent
364c85584e
commit
ca08de05ed
1 changed files with 2 additions and 6 deletions
|
@ -5,7 +5,7 @@
|
||||||
* include/asm-s390/s390_ext.h
|
* include/asm-s390/s390_ext.h
|
||||||
*
|
*
|
||||||
* S390 version
|
* S390 version
|
||||||
* Copyright (C) 1999,2000 IBM Deutschland Entwicklung GmbH, IBM Corporation
|
* Copyright IBM Corp. 1999,2007
|
||||||
* Author(s): Holger Smolinski (Holger.Smolinski@de.ibm.com),
|
* Author(s): Holger Smolinski (Holger.Smolinski@de.ibm.com),
|
||||||
* Martin Schwidefsky (schwidefsky@de.ibm.com)
|
* Martin Schwidefsky (schwidefsky@de.ibm.com)
|
||||||
*/
|
*/
|
||||||
|
@ -14,15 +14,11 @@
|
||||||
|
|
||||||
typedef void (*ext_int_handler_t)(__u16 code);
|
typedef void (*ext_int_handler_t)(__u16 code);
|
||||||
|
|
||||||
/*
|
|
||||||
* Warning: if you change ext_int_info_t you have to change the
|
|
||||||
* external interrupt handler in entry.S too.
|
|
||||||
*/
|
|
||||||
typedef struct ext_int_info_t {
|
typedef struct ext_int_info_t {
|
||||||
struct ext_int_info_t *next;
|
struct ext_int_info_t *next;
|
||||||
ext_int_handler_t handler;
|
ext_int_handler_t handler;
|
||||||
__u16 code;
|
__u16 code;
|
||||||
} __attribute__ ((packed)) ext_int_info_t;
|
} ext_int_info_t;
|
||||||
|
|
||||||
extern ext_int_info_t *ext_int_hash[];
|
extern ext_int_info_t *ext_int_hash[];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue