lcs: avoid/reduce unused s390dbf debug areas.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <git-commits-head@...>
Date: Friday, February 15, 2008 - 6:00 pm

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=164b0f...
Commit:     164b0fb1f2a2990a37b9aeae98a9b771f6add24e
Parent:     21b26f2fee6883f69f56fb8ff6c2996eda45b063
Author:     Peter Tiedemann <ptiedem@de.ibm.com>
AuthorDate: Fri Feb 8 13:09:04 2008 +0100
Committer:  Jeff Garzik <jeff@garzik.org>
CommitDate: Mon Feb 11 11:14:49 2008 -0500

    lcs: avoid/reduce unused s390dbf debug areas.
    
    Since lcs makes use of 1 debug area only, the number of debug areas
    is reduced, while the number of pages per area is increased.
    
    Signed-off-by: Peter Tiedemann <ptiedem@de.ibm.com>
    Signed-off-by: Ursula Braun <braunu@de.ibm.com>
    Signed-off-by: Jeff Garzik <jeff@garzik.org>
---
 drivers/s390/net/lcs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/s390/net/lcs.c b/drivers/s390/net/lcs.c
index 7bfe8d7..f51ed99 100644
--- a/drivers/s390/net/lcs.c
+++ b/drivers/s390/net/lcs.c
@@ -94,7 +94,7 @@ static int
 lcs_register_debug_facility(void)
 {
 	lcs_dbf_setup = debug_register("lcs_setup", 2, 1, 8);
-	lcs_dbf_trace = debug_register("lcs_trace", 2, 2, 8);
+	lcs_dbf_trace = debug_register("lcs_trace", 4, 1, 8);
 	if (lcs_dbf_setup == NULL || lcs_dbf_trace == NULL) {
 		PRINT_ERR("Not enough memory for debug facility.\n");
 		lcs_unregister_debug_facility();
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
lcs: avoid/reduce unused s390dbf debug areas., Linux Kernel Mailing List..., (Fri Feb 15, 6:00 pm)