aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-s390/s390_ext.h
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2007-10-12 10:11:36 -0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2007-10-12 10:13:07 -0400
commitca08de05ed83b7c2029c742ef3310a284b7790ee (patch)
treea66b25b5b8505d3568053d32eeb0834eb218048f /include/asm-s390/s390_ext.h
parent364c85584e030f7cfc25e9d27ca893dee6f4bf8e (diff)
[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>
Diffstat (limited to 'include/asm-s390/s390_ext.h')
-rw-r--r--include/asm-s390/s390_ext.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/asm-s390/s390_ext.h b/include/asm-s390/s390_ext.h
index 1e72362cad78..2afc060266a2 100644
--- a/include/asm-s390/s390_ext.h
+++ b/include/asm-s390/s390_ext.h
@@ -5,7 +5,7 @@
5 * include/asm-s390/s390_ext.h 5 * include/asm-s390/s390_ext.h
6 * 6 *
7 * S390 version 7 * S390 version
8 * Copyright (C) 1999,2000 IBM Deutschland Entwicklung GmbH, IBM Corporation 8 * Copyright IBM Corp. 1999,2007
9 * Author(s): Holger Smolinski (Holger.Smolinski@de.ibm.com), 9 * Author(s): Holger Smolinski (Holger.Smolinski@de.ibm.com),
10 * Martin Schwidefsky (schwidefsky@de.ibm.com) 10 * Martin Schwidefsky (schwidefsky@de.ibm.com)
11 */ 11 */
@@ -14,15 +14,11 @@
14 14
15typedef void (*ext_int_handler_t)(__u16 code); 15typedef void (*ext_int_handler_t)(__u16 code);
16 16
17/*
18 * Warning: if you change ext_int_info_t you have to change the
19 * external interrupt handler in entry.S too.
20 */
21typedef struct ext_int_info_t { 17typedef struct ext_int_info_t {
22 struct ext_int_info_t *next; 18 struct ext_int_info_t *next;
23 ext_int_handler_t handler; 19 ext_int_handler_t handler;
24 __u16 code; 20 __u16 code;
25} __attribute__ ((packed)) ext_int_info_t; 21} ext_int_info_t;
26 22
27extern ext_int_info_t *ext_int_hash[]; 23extern ext_int_info_t *ext_int_hash[];
28 24