linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Linux Kernel Development <linux-kernel@vger.kernel.org>
Subject: [PATCH] bitops operate on unsigned long
Date: Tue, 2 Jul 2002 13:05:01 +0200 (MEST)	[thread overview]
Message-ID: <Pine.GSO.4.21.0207021303460.25055-100000@vervain.sonytel.be> (raw)


Bitops must operate on unsigned long.

--- linux-2.5.24/drivers/zorro/zorro.c	Mon May 13 10:55:35 2002
+++ linux-m68k-2.5.24/drivers/zorro/zorro.c	Tue Jul  2 12:59:34 2002
@@ -80,7 +80,7 @@
      *  FIXME: use the normal resource management
      */
 
-u32 zorro_unused_z2ram[4] = { 0, 0, 0, 0 };
+unsigned long zorro_unused_z2ram[128/BITS_PER_LONG];
 
 
 static void __init mark_region(unsigned long start, unsigned long end,
--- linux-2.5.24/include/linux/generic_serial.h	Mon Feb 11 13:14:29 2002
+++ linux-m68k-2.5.24/include/linux/generic_serial.h	Tue Jun 25 20:50:38 2002
@@ -45,7 +45,7 @@
   int                     count;
   int                     blocked_open;
   struct tty_struct       *tty;
-  int                     event;
+  unsigned long           event;
   unsigned short          closing_wait;
   int                     close_delay;
   struct real_driver      *rd;
--- linux-2.5.24/include/linux/serial167.h	Sun May 16 00:05:37 1999
+++ linux-m68k-2.5.24/include/linux/serial167.h	Tue Jun 25 20:50:38 2002
@@ -37,7 +37,7 @@
 	int			ignore_status_mask;
 	int			close_delay;
 	int			IER; 	/* Interrupt Enable Register */
-	int			event;
+	unsigned long		event;
 	unsigned long		last_active;
 	int			count;	/* # of fd on device */
 	int                     x_char; /* to be pushed out ASAP */
--- linux-2.5.24/include/linux/zorro.h	Mon May 13 10:55:40 2002
+++ linux-m68k-2.5.24/include/linux/zorro.h	Tue Jul  2 12:59:34 2002
@@ -199,7 +199,7 @@
      *  the corresponding bits.
      */
 
-extern __u32 zorro_unused_z2ram[4];
+extern unsigned long zorro_unused_z2ram[128/BITS_PER_LONG];
 
 #define Z2RAM_START		(0x00200000)
 #define Z2RAM_END		(0x00a00000)

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds


             reply	other threads:[~2002-07-02 11:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-02 11:05 Geert Uytterhoeven [this message]
2002-07-17 19:18 ` [PATCH] bitops operate on unsigned long Sam Ravnborg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.GSO.4.21.0207021303460.25055-100000@vervain.sonytel.be \
    --to=geert@linux-m68k.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).