lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 4 Apr 2012 21:47:49 +1000
From:	Greg Ungerer <gerg@...pgear.com>
To:	Sam Ravnborg <sam@...nborg.org>
CC:	Thomas Gleixner <tglx@...utronix.de>,
	lkml <linux-kernel@...r.kernel.org>,
	"David S. Miller" <davem@...emloft.net>,
	Geert Uytterhoeven <geert@...ux-m68k.org>,
	<linux-m68k@...ts.linux-m68k.org>, Greg Ungerer <gerg@...inux.org>,
	sparclinux <sparclinux@...r.kernel.org>
Subject: Re: [PATCH] irq: remove obsolete definitions in interrupt.h

On 04/04/2012 05:45 PM, Sam Ravnborg wrote:
> interrupt.h contained a small fixlet for the days when
> m68k and sparc32 did not use genirq.
> As they have both entered the modern world this
> fixlet can be dropped.
>
> Signed-off-by: Sam Ravnborg<sam@...nborg.org>
> Cc: Geert Uytterhoeven<geert@...ux-m68k.org>
> Cc: Greg Ungerer<gerg@...inux.org>

Acked-by: Greg Ungerer <gerg@...inux.org>


> Cc: "David S. Miller"<davem@...emloft.net>
> ---
>
> diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h
> index 2aea5d2..3848176 100644
> --- a/include/linux/interrupt.h
> +++ b/include/linux/interrupt.h
> @@ -122,7 +122,6 @@ struct irqaction {
>
>   extern irqreturn_t no_action(int cpl, void *dev_id);
>
> -#ifdef CONFIG_GENERIC_HARDIRQS
>   extern int __must_check
>   request_threaded_irq(unsigned int irq, irq_handler_t handler,
>   		     irq_handler_t thread_fn,
> @@ -144,42 +143,6 @@ request_percpu_irq(unsigned int irq, irq_handler_t handler,
>   		   const char *devname, void __percpu *percpu_dev_id);
>
>   extern void exit_irq_thread(void);
> -#else
> -
> -extern int __must_check
> -request_irq(unsigned int irq, irq_handler_t handler, unsigned long flags,
> -	    const char *name, void *dev);
> -
> -/*
> - * Special function to avoid ifdeffery in kernel/irq/devres.c which
> - * gets magically built by GENERIC_HARDIRQS=n architectures (sparc,
> - * m68k). I really love these $@...* obvious Makefile references:
> - * ../../../kernel/irq/devres.o
> - */
> -static inline int __must_check
> -request_threaded_irq(unsigned int irq, irq_handler_t handler,
> -		     irq_handler_t thread_fn,
> -		     unsigned long flags, const char *name, void *dev)
> -{
> -	return request_irq(irq, handler, flags, name, dev);
> -}
> -
> -static inline int __must_check
> -request_any_context_irq(unsigned int irq, irq_handler_t handler,
> -			unsigned long flags, const char *name, void *dev_id)
> -{
> -	return request_irq(irq, handler, flags, name, dev_id);
> -}
> -
> -static inline int __must_check
> -request_percpu_irq(unsigned int irq, irq_handler_t handler,
> -		   const char *devname, void __percpu *percpu_dev_id)
> -{
> -	return request_irq(irq, handler, 0, devname, percpu_dev_id);
> -}
> -
> -static inline void exit_irq_thread(void) { }
> -#endif
>
>   extern void free_irq(unsigned int, void *);
>   extern void free_percpu_irq(unsigned int, void __percpu *);
>
>
>
>


-- 
------------------------------------------------------------------------
Greg Ungerer  --  Principal Engineer        EMAIL:     gerg@...pgear.com
SnapGear Group, McAfee                      PHONE:       +61 7 3435 2888
8 Gardner Close,                            FAX:         +61 7 3891 3630
Milton, QLD, 4064, Australia                WEB: http://www.SnapGear.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ