Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 373270
b: refs/heads/master
c: fe72ffb
h: refs/heads/master
v: v3
  • Loading branch information
Sebastian Ott authored and Martin Schwidefsky committed May 2, 2013
1 parent 93f7979 commit 991f8e7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 13 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: d1eb16e64f20bbb88b0949fb5203ac43b661dffe
refs/heads/master: fe72ffba3eaf4f07933dc2047be934290113d357
16 changes: 4 additions & 12 deletions trunk/arch/s390/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -226,25 +226,17 @@ static void __init conmode_default(void)
}

#ifdef CONFIG_ZFCPDUMP
static void __init setup_zfcpdump(unsigned int console_devno)
static void __init setup_zfcpdump(void)
{
static char str[41];

if (ipl_info.type != IPL_TYPE_FCP_DUMP)
return;
if (OLDMEM_BASE)
return;
if (console_devno != -1)
sprintf(str, " cio_ignore=all,!0.0.%04x,!0.0.%04x",
ipl_info.data.fcp.dev_id.devno, console_devno);
else
sprintf(str, " cio_ignore=all,!0.0.%04x",
ipl_info.data.fcp.dev_id.devno);
strcat(boot_command_line, str);
strcat(boot_command_line, " cio_ignore=all,!ipldev,!condev");
console_loglevel = 2;
}
#else
static inline void setup_zfcpdump(unsigned int console_devno) {}
static inline void setup_zfcpdump(void) {}
#endif /* CONFIG_ZFCPDUMP */

/*
Expand Down Expand Up @@ -1097,5 +1089,5 @@ void __init setup_arch(char **cmdline_p)
set_preferred_console();

/* Setup zfcpdump support */
setup_zfcpdump(console_devno);
setup_zfcpdump();
}

0 comments on commit 991f8e7

Please sign in to comment.