public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH][TRIVIAL] Add back in <asm/system.h> and <linux/linkage.h> to <linux/interrupt.h>
@ 2002-11-19 18:50 Tom Rini
  0 siblings, 0 replies; 3+ messages in thread
From: Tom Rini @ 2002-11-19 18:50 UTC (permalink / raw)
  To: Linus Torvalds, Kernel Mailing List, Trivial Patch Monkey

The following trivial patch adds back <asm/system.h> and
<linux/kernel.h> to <linux/interrupt.h>.  Without it,
<linux/interrupt.h> is relying on <asm/system.h> to be implicitly
included for smb_mb to be defined, and <linux/linkage.h> to be implicitly
included for asmlinkage/FASTCALL/etc.

-- 
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

===== include/linux/interrupt.h 1.17 vs edited =====
--- 1.17/include/linux/interrupt.h	Sun Nov 17 09:23:25 2002
+++ edited/include/linux/interrupt.h	Tue Nov 19 11:35:47 2002
@@ -3,11 +3,13 @@
 #define _LINUX_INTERRUPT_H
 
 #include <linux/config.h>
+#include <linux/linkage.h>
 #include <linux/bitops.h>
 #include <asm/atomic.h>
 #include <asm/hardirq.h>
 #include <asm/ptrace.h>
 #include <asm/softirq.h>
+#include <asm/system.h>
 
 struct irqaction {
 	void (*handler)(int, void *, struct pt_regs *);

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH][TRIVIAL] Add back in <asm/system.h> and <linux/linkage.h> to <linux/interrupt.h>
       [not found] <mailman.1037736361.32709.linux-kernel2news@redhat.com>
@ 2002-11-19 20:21 ` Pete Zaitcev
  2002-11-19 23:15   ` Tom Rini
  0 siblings, 1 reply; 3+ messages in thread
From: Pete Zaitcev @ 2002-11-19 20:21 UTC (permalink / raw)
  To: Tom Rini; +Cc: linux-kernel

> The following trivial patch adds back <asm/system.h> and
><linux/kernel.h> to <linux/interrupt.h>.  Without it,
><linux/interrupt.h> is relying on <asm/system.h> to be implicitly
> included for smb_mb to be defined, and <linux/linkage.h> to be implicitly
> included for asmlinkage/FASTCALL/etc.

Right, RMK posted it a couple of days ago, without linkage.h though.

-- Pete

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH][TRIVIAL] Add back in <asm/system.h> and <linux/linkage.h> to <linux/interrupt.h>
  2002-11-19 20:21 ` [PATCH][TRIVIAL] Add back in <asm/system.h> and <linux/linkage.h> to <linux/interrupt.h> Pete Zaitcev
@ 2002-11-19 23:15   ` Tom Rini
  0 siblings, 0 replies; 3+ messages in thread
From: Tom Rini @ 2002-11-19 23:15 UTC (permalink / raw)
  To: Pete Zaitcev; +Cc: linux-kernel

On Tue, Nov 19, 2002 at 03:21:08PM -0500, Pete Zaitcev wrote:
> > The following trivial patch adds back <asm/system.h> and
> ><linux/kernel.h> to <linux/interrupt.h>.  Without it,
> ><linux/interrupt.h> is relying on <asm/system.h> to be implicitly
> > included for smb_mb to be defined, and <linux/linkage.h> to be implicitly
> > included for asmlinkage/FASTCALL/etc.
> 
> Right, RMK posted it a couple of days ago, without linkage.h though.

Then RMK's isn't complete as it needs both. :)

-- 
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-11-19 23:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.1037736361.32709.linux-kernel2news@redhat.com>
2002-11-19 20:21 ` [PATCH][TRIVIAL] Add back in <asm/system.h> and <linux/linkage.h> to <linux/interrupt.h> Pete Zaitcev
2002-11-19 23:15   ` Tom Rini
2002-11-19 18:50 Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox