[U-Boot] [RFC PATCH 01/12] x86: delete unneeded declarations of disable_irq() and enable_irq()

Simon Glass sjg at chromium.org
Thu Jul 9 02:22:35 CEST 2015


On 7 July 2015 at 22:46, Bin Meng <bmeng.cn at gmail.com> wrote:
> On Wed, Jul 8, 2015 at 12:29 PM, Masahiro Yamada
> <yamada.masahiro at socionext.com> wrote:
>> These two declarations in arch/x86/include/asm/interrupt.h conflict
>> with ones in include/linux/compat.h, so x86 boards cannot include
>> <linux/compat.h>.
>>
>> The comment /* arch/x86/lib/interrupts.c */ is bogus now, and we do
>> not see any definitions of disable_irq() and enable_irq() in there.
>>
>> Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
>> ---
>>
>>  arch/x86/include/asm/interrupt.h | 4 ----
>>  1 file changed, 4 deletions(-)
>>
>> diff --git a/arch/x86/include/asm/interrupt.h b/arch/x86/include/asm/interrupt.h
>> index 0a75f89..00cbe07 100644
>> --- a/arch/x86/include/asm/interrupt.h
>> +++ b/arch/x86/include/asm/interrupt.h
>> @@ -16,10 +16,6 @@
>>  /* arch/x86/cpu/interrupts.c */
>>  void set_vector(u8 intnum, void *routine);
>>
>> -/* arch/x86/lib/interrupts.c */
>> -void disable_irq(int irq);
>> -void enable_irq(int irq);
>> -
>>  /* Architecture specific functions */
>>  void mask_irq(int irq);
>>  void unmask_irq(int irq);
>> --
>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>

Acked-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list