diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/platforms/pseries/setup.c | 2 | ||||
-rw-r--r-- | arch/s390/Makefile | 2 | ||||
-rw-r--r-- | arch/s390/kernel/ipl.c | 10 |
3 files changed, 7 insertions, 7 deletions
diff --git a/arch/powerpc/platforms/pseries/setup.c b/arch/powerpc/platforms/pseries/setup.c index 470db6efaeb6..a031d99becb7 100644 --- a/arch/powerpc/platforms/pseries/setup.c +++ b/arch/powerpc/platforms/pseries/setup.c | |||
@@ -176,7 +176,7 @@ static void __init pseries_mpic_init_IRQ(void) | |||
176 | return; | 176 | return; |
177 | 177 | ||
178 | cascade_irq = irq_of_parse_and_map(cascade, 0); | 178 | cascade_irq = irq_of_parse_and_map(cascade, 0); |
179 | if (cascade == NO_IRQ) { | 179 | if (cascade_irq == NO_IRQ) { |
180 | printk(KERN_ERR "mpic: failed to map cascade interrupt"); | 180 | printk(KERN_ERR "mpic: failed to map cascade interrupt"); |
181 | return; | 181 | return; |
182 | } | 182 | } |
diff --git a/arch/s390/Makefile b/arch/s390/Makefile index 68441e0e74b6..143ed8e154af 100644 --- a/arch/s390/Makefile +++ b/arch/s390/Makefile | |||
@@ -19,7 +19,7 @@ CFLAGS += -m31 | |||
19 | AFLAGS += -m31 | 19 | AFLAGS += -m31 |
20 | UTS_MACHINE := s390 | 20 | UTS_MACHINE := s390 |
21 | STACK_SIZE := 8192 | 21 | STACK_SIZE := 8192 |
22 | CHECKFLAGS += -D__s390__ | 22 | CHECKFLAGS += -D__s390__ -msize-long |
23 | else | 23 | else |
24 | LDFLAGS := -m elf64_s390 | 24 | LDFLAGS := -m elf64_s390 |
25 | MODFLAGS += -fpic -D__PIC__ | 25 | MODFLAGS += -fpic -D__PIC__ |
diff --git a/arch/s390/kernel/ipl.c b/arch/s390/kernel/ipl.c index 9a13b24ee1ab..8b8f136d9cc7 100644 --- a/arch/s390/kernel/ipl.c +++ b/arch/s390/kernel/ipl.c | |||
@@ -295,8 +295,8 @@ static ssize_t sys_ipl_device_show(struct kset *kset, char *page) | |||
295 | static struct subsys_attribute sys_ipl_device_attr = | 295 | static struct subsys_attribute sys_ipl_device_attr = |
296 | __ATTR(device, S_IRUGO, sys_ipl_device_show, NULL); | 296 | __ATTR(device, S_IRUGO, sys_ipl_device_show, NULL); |
297 | 297 | ||
298 | static ssize_t ipl_parameter_read(struct kobject *kobj, char *buf, loff_t off, | 298 | static ssize_t ipl_parameter_read(struct kobject *kobj, struct bin_attribute *attr, |
299 | size_t count) | 299 | char *buf, loff_t off, size_t count) |
300 | { | 300 | { |
301 | unsigned int size = IPL_PARMBLOCK_SIZE; | 301 | unsigned int size = IPL_PARMBLOCK_SIZE; |
302 | 302 | ||
@@ -317,8 +317,8 @@ static struct bin_attribute ipl_parameter_attr = { | |||
317 | .read = &ipl_parameter_read, | 317 | .read = &ipl_parameter_read, |
318 | }; | 318 | }; |
319 | 319 | ||
320 | static ssize_t ipl_scp_data_read(struct kobject *kobj, char *buf, loff_t off, | 320 | static ssize_t ipl_scp_data_read(struct kobject *kobj, struct bin_attribute *attr, |
321 | size_t count) | 321 | char *buf, loff_t off, size_t count) |
322 | { | 322 | { |
323 | unsigned int size = IPL_PARMBLOCK_START->ipl_info.fcp.scp_data_len; | 323 | unsigned int size = IPL_PARMBLOCK_START->ipl_info.fcp.scp_data_len; |
324 | void *scp_data = &IPL_PARMBLOCK_START->ipl_info.fcp.scp_data; | 324 | void *scp_data = &IPL_PARMBLOCK_START->ipl_info.fcp.scp_data; |
@@ -337,7 +337,7 @@ static struct bin_attribute ipl_scp_data_attr = { | |||
337 | .mode = S_IRUGO, | 337 | .mode = S_IRUGO, |
338 | }, | 338 | }, |
339 | .size = PAGE_SIZE, | 339 | .size = PAGE_SIZE, |
340 | .read = &ipl_scp_data_read, | 340 | .read = ipl_scp_data_read, |
341 | }; | 341 | }; |
342 | 342 | ||
343 | /* FCP ipl device attributes */ | 343 | /* FCP ipl device attributes */ |