Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 107171
b: refs/heads/master
c: 3a95e8e
h: refs/heads/master
i:
  107169: 3e17c96
  107167: be96e6c
v: v3
  • Loading branch information
Michael Holzheu authored and Martin Schwidefsky committed Aug 1, 2008
1 parent 1dbecd8 commit 5134bbf
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 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: 4abb08c24b5fa7b6ad0807c07077f0f216f6788b
refs/heads/master: 3a95e8eb34f595a0144adb6e5513d456319bd8a5
5 changes: 4 additions & 1 deletion trunk/arch/s390/kernel/ipl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1705,7 +1705,10 @@ void __init setup_ipl(void)

void __init ipl_update_parameters(void)
{
if (diag308(DIAG308_STORE, &ipl_block) == DIAG308_RC_OK)
int rc;

rc = diag308(DIAG308_STORE, &ipl_block);
if ((rc == DIAG308_RC_OK) || (rc == DIAG308_RC_NOCONFIG))
diag308_set_works = 1;
}

Expand Down
3 changes: 2 additions & 1 deletion trunk/include/asm-s390/ipl.h
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@ enum diag308_vm_flags {
};

enum diag308_rc {
DIAG308_RC_OK = 1,
DIAG308_RC_OK = 0x0001,
DIAG308_RC_NOCONFIG = 0x0102,
};

extern int diag308(unsigned long subcode, void *addr);
Expand Down

0 comments on commit 5134bbf

Please sign in to comment.