[Pkg-voip-commits] r5921 - /zaptel/trunk/kernel/oslec/oslec_wrap.c

tzafrir-guest at alioth.debian.org tzafrir-guest at alioth.debian.org
Mon Jun 30 07:09:12 UTC 2008


Author: tzafrir-guest
Date: Mon Jun 30 07:09:11 2008
New Revision: 5921

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=5921
Log:
'flags' for irq_save should be unsigned_long . Help building on powerpc
again.

Modified:
    zaptel/trunk/kernel/oslec/oslec_wrap.c

Modified: zaptel/trunk/kernel/oslec/oslec_wrap.c
URL: http://svn.debian.org/wsvn/pkg-voip/zaptel/trunk/kernel/oslec/oslec_wrap.c?rev=5921&op=diff
==============================================================================
--- zaptel/trunk/kernel/oslec/oslec_wrap.c (original)
+++ zaptel/trunk/kernel/oslec/oslec_wrap.c Mon Jun 30 07:09:11 2008
@@ -172,7 +172,7 @@
 }
 
 void oslec_echo_can_free(struct echo_can_state *ec) {
-  unsigned int flags;
+  unsigned long flags;
   spin_lock_irqsave(&oslec_lock, flags);
 
   /* if this is the e/c being monitored, disable monitoring */
@@ -239,7 +239,7 @@
 {
   int len;
   char mode_str[80];
-  unsigned int flags;
+  unsigned long flags;
 
   *eof = 1;
 
@@ -316,7 +316,7 @@
                           int count, int *eof, void *data)
 {
   int len;
-  unsigned int flags;
+  unsigned long flags;
 
   *eof = 1;
 
@@ -341,7 +341,7 @@
 
   int   new_mode;
   char *endbuffer;
-  unsigned int flags;
+  unsigned long flags;
 
   spin_lock_irqsave(&oslec_lock, flags);
 
@@ -362,7 +362,7 @@
 static int proc_write_reset(struct file *file, const char *buffer,
                            unsigned long count, void *data)
 {
-  unsigned int flags;
+  unsigned long flags;
   spin_lock_irqsave(&oslec_lock, flags);
 
   if (mon_ec == NULL) {




More information about the Pkg-voip-commits mailing list