Re: [PATCH] natsemi irq flags

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jun 15, 2007 at 06:06:58PM -0400, Chuck Ebbert wrote:
> On 06/15/2007 05:17 PM, Gregory Haskins wrote:
> > The spinlock irq flags should be a unsigned long to properly support 64 bit
> 
> Ouch. Can't we automate checking for that?

Hopefully I'll do it before next -rc1.

--- a/include/linux/types.h
+++ b/include/linux/types.h
@@ -191,6 +191,7 @@ typedef __u32 __bitwise __wsum;
 
 #ifdef __KERNEL__
 typedef unsigned __bitwise__ gfp_t;
+typedef unsigned long __bitwise__ irq_flags_t;
 
 #ifdef CONFIG_RESOURCES_64BIT
 typedef u64 resource_size_t;


803 files changed, 2651 insertions(+), 2617 deletions(-)
and counting

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux