diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2006-01-06 03:19:28 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 11:33:53 -0500 |
commit | 347a8dc3b815f0c0fa62a1df075184ffe4cbdcf1 (patch) | |
tree | a6ec76690127e87fe6efa42b6238caadd6c07e7b /drivers/s390/net/claw.c | |
parent | 9bbc8346fb21fad3f678220b067450e436e45dbf (diff) |
[PATCH] s390: cleanup Kconfig
Sanitize some s390 Kconfig options. We have ARCH_S390, ARCH_S390X,
ARCH_S390_31, 64BIT, S390_SUPPORT and COMPAT. Replace these 6 options by
S390, 64BIT and COMPAT.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/s390/net/claw.c')
-rw-r--r-- | drivers/s390/net/claw.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/s390/net/claw.c b/drivers/s390/net/claw.c index 6b63d21612ec..e70af7f39946 100644 --- a/drivers/s390/net/claw.c +++ b/drivers/s390/net/claw.c | |||
@@ -1603,7 +1603,7 @@ dumpit(char* buf, int len) | |||
1603 | __u32 ct, sw, rm, dup; | 1603 | __u32 ct, sw, rm, dup; |
1604 | char *ptr, *rptr; | 1604 | char *ptr, *rptr; |
1605 | char tbuf[82], tdup[82]; | 1605 | char tbuf[82], tdup[82]; |
1606 | #if (CONFIG_ARCH_S390X) | 1606 | #if (CONFIG_64BIT) |
1607 | char addr[22]; | 1607 | char addr[22]; |
1608 | #else | 1608 | #else |
1609 | char addr[12]; | 1609 | char addr[12]; |
@@ -1619,7 +1619,7 @@ dumpit(char* buf, int len) | |||
1619 | dup = 0; | 1619 | dup = 0; |
1620 | for ( ct=0; ct < len; ct++, ptr++, rptr++ ) { | 1620 | for ( ct=0; ct < len; ct++, ptr++, rptr++ ) { |
1621 | if (sw == 0) { | 1621 | if (sw == 0) { |
1622 | #if (CONFIG_ARCH_S390X) | 1622 | #if (CONFIG_64BIT) |
1623 | sprintf(addr, "%16.16lX",(unsigned long)rptr); | 1623 | sprintf(addr, "%16.16lX",(unsigned long)rptr); |
1624 | #else | 1624 | #else |
1625 | sprintf(addr, "%8.8X",(__u32)rptr); | 1625 | sprintf(addr, "%8.8X",(__u32)rptr); |
@@ -1634,7 +1634,7 @@ dumpit(char* buf, int len) | |||
1634 | if (sw == 8) { | 1634 | if (sw == 8) { |
1635 | strcat(bhex, " "); | 1635 | strcat(bhex, " "); |
1636 | } | 1636 | } |
1637 | #if (CONFIG_ARCH_S390X) | 1637 | #if (CONFIG_64BIT) |
1638 | sprintf(tbuf,"%2.2lX", (unsigned long)*ptr); | 1638 | sprintf(tbuf,"%2.2lX", (unsigned long)*ptr); |
1639 | #else | 1639 | #else |
1640 | sprintf(tbuf,"%2.2X", (__u32)*ptr); | 1640 | sprintf(tbuf,"%2.2X", (__u32)*ptr); |