2002-09-10 09:22:18

by Rusty Russell

[permalink] [raw]
Subject: [TRIVIAL] Comment fix asm-i386_hardirq.h

[ The best bit about this is how every arch copied the comment 8) ]
From: Skip Ford <[email protected]>


--- trivial-2.5.34/include/asm-i386/hardirq.h.orig 2002-09-10 19:11:13.000000000 +1000
+++ trivial-2.5.34/include/asm-i386/hardirq.h 2002-09-10 19:11:13.000000000 +1000
@@ -27,8 +27,8 @@
* - ( bit 26 is the PREEMPT_ACTIVE flag. )
*
* PREEMPT_MASK: 0x000000ff
- * HARDIRQ_MASK: 0x0000ff00
- * SOFTIRQ_MASK: 0x00ff0000
+ * SOFTIRQ_MASK: 0x0000ff00
+ * HARDIRQ_MASK: 0x00ff0000
*/

#define PREEMPT_BITS 8
--
Don't blame me: the Monkey is driving
File: Skip Ford <[email protected]>: Comment fix asm-i386_hardirq.h


2002-09-10 17:45:14

by Skip Ford

[permalink] [raw]
Subject: Re: [TRIVIAL] Comment fix asm-i386_hardirq.h

Rusty Trivial Russell wrote:
> [ The best bit about this is how every arch copied the comment 8) ]
[ cc'ing trivial ]

After those patches were generated, another arch copied the
incorrect comment.

--- linux/include/asm-sparc/hardirq.h~ Tue Sep 10 13:56:32 2002
+++ linux/include/asm-sparc/hardirq.h Tue Sep 10 13:56:47 2002
@@ -39,8 +39,8 @@
* - ( bit 26 is the PREEMPT_ACTIVE flag. )
*
* PREEMPT_MASK: 0x000000ff
- * HARDIRQ_MASK: 0x0000ff00
- * SOFTIRQ_MASK: 0x00ff0000
+ * SOFTIRQ_MASK: 0x0000ff00
+ * HARDIRQ_MASK: 0x00ff0000
*/

#define PREEMPT_BITS 8

--
Skip