[TRIVIAL] Add back in <asm/system.h> and <linux/linkage.h> to <linux/interrupt.h>

[TRIVIAL] Add back in <asm/system.h> and <linux/linkage.h> to <linux/interrupt.h>

Post by Tom Rin » Wed, 20 Nov 2002 21:00:13



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

 #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 *);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

[TRIVIAL] Add back in <asm/system.h> and <linux/linkage.h> to <linux/interrupt.h>

Post by Pete Zaitce » Wed, 20 Nov 2002 22:30:11


Quote:> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

[TRIVIAL] Add back in <asm/system.h> and <linux/linkage.h> to <linux/interrupt.h>

Post by Tom Rin » Thu, 21 Nov 2002 01:20:12



> > 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/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. [RESEND] Add back in <asm/system.h> and <linux/linkage.h> to <linux/interrupt.h>

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.

Apparently RMK sent a similar patch, which did not add in
<linux/linkage.h>.  That patch is incomplete since <linux/interrupt.h>
directly uses FASTCALL, asmlinkage, etc, and on some arches
<linux/linkage.h> will not be implicitly included.

--
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

 #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 *);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. X-Config for Samtron SC-726GXL / MiroVIDEO 20 SV

3. #include <asm/bitops.h> -> #include <linux/bitops.h>

4. Sun F15K Performance Expectations

5. 1.3.98: <linux/if_arp.h> needs to include <linux/netdevice.h>

6. More Linux boot frustration (WAS: What is: ERROR Installing Image on Hard drive...?)

7. Include <linux/stddef.h> in <linux/list.h>

8. HP Netserver 5/133 LC LILO problem

9. Kernel include files <sys/socket.h> and <linux/in.h>

10. #define NOERROR in <sys/stream.h> and <arpa/nameser.h>

11. include files <sys/ipc.h> and <sys/shm.h>

12. <<<<<soundconfig problem <<<<<<<

13. interrupt.h needs <asm/system.h>