[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Fix several warnings for -Wmissing-prototypes
From: |
Samuel Thibault |
Subject: |
Re: [PATCH] Fix several warnings for -Wmissing-prototypes |
Date: |
Tue, 24 Jan 2023 00:18:49 +0100 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
Hello,
Applied, except
Flavio Cruz, le ven. 20 janv. 2023 01:19:53 -0500, a ecrit:
> * ddb/db_mp.c: remove unused function.
> diff --git a/ddb/db_mp.c b/ddb/db_mp.c
> index 7c0f6f26..dbd4abb8 100644
> --- a/ddb/db_mp.c
> +++ b/ddb/db_mp.c
> @@ -246,17 +246,6 @@ db_on(int cpu)
> db_continue_cmd(0, 0, 0, "");
> }
>
> -/*
> - * Called by interprocessor interrupt when one CPU is
> - * in kernel debugger and wants to stop other CPUs
> - */
> -void
> -remote_db_enter(void)
> -{
> - db_slave[cpu_number()]++;
> - kdb_kintr();
> -}
> -
> /*
> * Acquire kernel debugger.
> * Conditional code for forwarding characters from slave to console
This, which I believe we will probably want to have. I have added a
declaration instead.
Thanks!
Samuel