]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
Updated the queue for 2.6.12.3 review
authorGreg KH <greg@press.(none)>
Wed, 13 Jul 2005 18:00:42 +0000 (11:00 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 13 Jul 2005 18:00:42 +0000 (11:00 -0700)
queue/acpi-pci-irq-fix-fix.patch
queue/netfilter-conntrack-fix-fix.patch
queue/ppc32-stop-misusing-ntps-time_offset-value.patch
queue/shaper-driver-lock-fix.patch
queue/smp-fix-for-6pack.patch
queue/tpm-init-fixes.patch
queue/trivial-v4l-cx88-video-hue-offset-fix.patch
queue/tty_ldisc_ref-null-check.patch
queue/uml-fix-tt-mode.patch
queue/unregister_chrdev_region-semaphore-fix.patch
queue/x86_64-TASK_SIZE-fix.patch

index aca84e9a8a89e7b8f6470c5cb80b508bc73be00a..1814dc0146622195d7339a87bac55a526a0fb6f2 100644 (file)
@@ -11,16 +11,14 @@ That zero just means that nothing else found any irq information either.
 Fixes http://bugme.osdl.org/show_bug.cgi?id=4824
 
 Signed-off-by: Chris Wright <chrisw@osdl.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
 ---
-
  drivers/acpi/pci_irq.c |    2 +-
  1 files changed, 1 insertion(+), 1 deletion(-)
 
-Index: linux-2.6.12.y/drivers/acpi/pci_irq.c
-===================================================================
---- linux-2.6.12.y.orig/drivers/acpi/pci_irq.c
-+++ linux-2.6.12.y/drivers/acpi/pci_irq.c
-@@ -433,7 +433,7 @@ acpi_pci_irq_enable (
+--- linux-2.6.12.2.orig/drivers/acpi/pci_irq.c 2005-07-13 10:53:01.000000000 -0700
++++ linux-2.6.12.2/drivers/acpi/pci_irq.c      2005-07-13 10:56:30.000000000 -0700
+@@ -433,7 +433,7 @@
                printk(KERN_WARNING PREFIX "PCI Interrupt %s[%c]: no GSI",
                        pci_name(dev), ('A' + pin));
                /* Interrupt Line values above 0xF are forbidden */
index abe7443507ce9d4b720e0bb1f9fa7c9f8de86513..bbf08fc327151f1facf996a01185cf6b00e5281a 100644 (file)
@@ -15,11 +15,16 @@ Adapted for 2.6.12 by Daniel Drake <dsd@gentoo.org>
 Signed-off-by: Phil Oester <kernel@linuxace.com>
 Signed-off-by: Patrick McHardy <kaber@trash.net>
 Signed-off-by: Chris Wright <chrisw@osdl.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
 ---
+ net/ipv4/ip_output.c                         |    3 ---
+ net/ipv4/netfilter/ip_conntrack_standalone.c |    7 +++++++
+ net/packet/af_packet.c                       |    6 ++++++
+ 3 files changed, 13 insertions(+), 3 deletions(-)
 
---- linux-2.6.12/net/ipv4/ip_output.c_orig     2005-07-12 13:42:56.000000000 +0100
-+++ linux-2.6.12/net/ipv4/ip_output.c  2005-07-12 13:46:03.000000000 +0100
-@@ -111,7 +111,6 @@ static int ip_dev_loopback_xmit(struct s
+--- linux-2.6.12.2.orig/net/ipv4/ip_output.c   2005-06-17 12:48:29.000000000 -0700
++++ linux-2.6.12.2/net/ipv4/ip_output.c        2005-07-13 10:56:44.000000000 -0700
+@@ -111,7 +111,6 @@
  #ifdef CONFIG_NETFILTER_DEBUG
        nf_debug_ip_loopback_xmit(newskb);
  #endif
@@ -27,7 +32,7 @@ Signed-off-by: Chris Wright <chrisw@osdl.org>
        netif_rx(newskb);
        return 0;
  }
-@@ -196,8 +195,6 @@ static inline int ip_finish_output2(stru
+@@ -196,8 +195,6 @@
        nf_debug_ip_finish_output2(skb);
  #endif /*CONFIG_NETFILTER_DEBUG*/
  
@@ -36,9 +41,9 @@ Signed-off-by: Chris Wright <chrisw@osdl.org>
        if (hh) {
                int hh_alen;
  
---- linux-2.6.12/net/ipv4/netfilter/ip_conntrack_standalone.c_orig     2005-07-12 13:43:16.000000000 +0100
-+++ linux-2.6.12/net/ipv4/netfilter/ip_conntrack_standalone.c  2005-07-12 13:47:44.000000000 +0100
-@@ -432,6 +432,13 @@ static unsigned int ip_conntrack_defrag(
+--- linux-2.6.12.2.orig/net/ipv4/netfilter/ip_conntrack_standalone.c   2005-06-17 12:48:29.000000000 -0700
++++ linux-2.6.12.2/net/ipv4/netfilter/ip_conntrack_standalone.c        2005-07-13 10:56:44.000000000 -0700
+@@ -432,6 +432,13 @@
                                        const struct net_device *out,
                                        int (*okfn)(struct sk_buff *))
  {
@@ -52,9 +57,9 @@ Signed-off-by: Chris Wright <chrisw@osdl.org>
        /* Gather fragments. */
        if ((*pskb)->nh.iph->frag_off & htons(IP_MF|IP_OFFSET)) {
                *pskb = ip_ct_gather_frags(*pskb,
---- linux-2.6.12/net/packet/af_packet.c_orig   2005-07-12 13:47:38.000000000 +0100
-+++ linux-2.6.12/net/packet/af_packet.c        2005-07-12 13:47:44.000000000 +0100
-@@ -274,6 +274,9 @@ static int packet_rcv_spkt(struct sk_buf
+--- linux-2.6.12.2.orig/net/packet/af_packet.c 2005-06-17 12:48:29.000000000 -0700
++++ linux-2.6.12.2/net/packet/af_packet.c      2005-07-13 10:56:44.000000000 -0700
+@@ -274,6 +274,9 @@
        dst_release(skb->dst);
        skb->dst = NULL;
  
@@ -64,7 +69,7 @@ Signed-off-by: Chris Wright <chrisw@osdl.org>
        spkt = (struct sockaddr_pkt*)skb->cb;
  
        skb_push(skb, skb->data-skb->mac.raw);
-@@ -517,6 +520,9 @@ static int packet_rcv(struct sk_buff *sk
+@@ -517,6 +520,9 @@
        dst_release(skb->dst);
        skb->dst = NULL;
  
index 31046e867e6a45df805339f0747f72da293da1ff..3be7c821fe29b95d9389a4a4f67d6649b0240289 100644 (file)
@@ -20,16 +20,14 @@ Acked-by: Tom Rini <trini@kernel.crashing.org>
 Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
 Signed-off-by: Andrew Morton <akpm@osdl.org>
 Signed-off-by: Chris Wright <chrisw@osdl.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
 ---
-
  arch/ppc/kernel/time.c |   13 ++++++++-----
  1 files changed, 8 insertions(+), 5 deletions(-)
 
-Index: linux-2.6.12.y/arch/ppc/kernel/time.c
-===================================================================
---- linux-2.6.12.y.orig/arch/ppc/kernel/time.c
-+++ linux-2.6.12.y/arch/ppc/kernel/time.c
-@@ -89,6 +89,9 @@ unsigned long tb_to_ns_scale;
+--- linux-2.6.12.2.orig/arch/ppc/kernel/time.c 2005-06-17 12:48:29.000000000 -0700
++++ linux-2.6.12.2/arch/ppc/kernel/time.c      2005-07-13 10:56:23.000000000 -0700
+@@ -89,6 +89,9 @@
  
  extern unsigned long wall_jiffies;
  
@@ -39,7 +37,7 @@ Index: linux-2.6.12.y/arch/ppc/kernel/time.c
  DEFINE_SPINLOCK(rtc_lock);
  
  EXPORT_SYMBOL(rtc_lock);
-@@ -170,7 +173,7 @@ void timer_interrupt(struct pt_regs * re
+@@ -170,7 +173,7 @@
                     xtime.tv_sec - last_rtc_update >= 659 &&
                     abs((xtime.tv_nsec / 1000) - (1000000-1000000/HZ)) < 500000/HZ &&
                     jiffies - wall_jiffies == 1) {
@@ -48,7 +46,7 @@ Index: linux-2.6.12.y/arch/ppc/kernel/time.c
                                last_rtc_update = xtime.tv_sec+1;
                        else
                                /* Try again one minute later */
-@@ -286,7 +289,7 @@ void __init time_init(void)
+@@ -286,7 +289,7 @@
        unsigned old_stamp, stamp, elapsed;
  
          if (ppc_md.time_init != NULL)
@@ -57,7 +55,7 @@ Index: linux-2.6.12.y/arch/ppc/kernel/time.c
  
        if (__USE_RTC()) {
                /* 601 processor: dec counts down by 128 every 128ns */
-@@ -331,10 +334,10 @@ void __init time_init(void)
+@@ -331,10 +334,10 @@
        set_dec(tb_ticks_per_jiffy);
  
        /* If platform provided a timezone (pmac), we correct the time */
index 7382e6176f9b891a07512c1f3acfd3973b72fb5c..72d1b551fa9ee94c9a61eaef6a1cc8f0bdec9738 100644 (file)
@@ -13,12 +13,15 @@ switches locking to spinlocks.
 Signed-off-by: Christoph Hellwig <hch@lst.de>
 Signed-off-by: David S. Miller <davem@davemloft.net>
 Signed-off-by: Chris Wright <chrisw@osdl.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
 ---
+ drivers/net/shaper.c      |   42 ++++++++++++++++--------------------------
+ include/linux/if_shaper.h |    2 +-
+ 2 files changed, 17 insertions(+), 27 deletions(-)
 
-diff --git a/drivers/net/shaper.c b/drivers/net/shaper.c
---- a/drivers/net/shaper.c
-+++ b/drivers/net/shaper.c
-@@ -135,10 +135,8 @@ static int shaper_start_xmit(struct sk_b
+--- linux-2.6.12.2.orig/drivers/net/shaper.c   2005-06-17 12:48:29.000000000 -0700
++++ linux-2.6.12.2/drivers/net/shaper.c        2005-07-13 10:56:34.000000000 -0700
+@@ -135,10 +135,8 @@
  {
        struct shaper *shaper = dev->priv;
        struct sk_buff *ptr;
@@ -26,12 +29,12 @@ diff --git a/drivers/net/shaper.c b/drivers/net/shaper.c
 -      if (down_trylock(&shaper->sem))
 -              return -1;
 -
-+  
++
 +      spin_lock(&shaper->lock);
        ptr=shaper->sendq.prev;
        
        /*
-@@ -232,7 +230,7 @@ static int shaper_start_xmit(struct sk_b
+@@ -232,7 +230,7 @@
                  shaper->stats.collisions++;
        }
        shaper_kick(shaper);
@@ -40,7 +43,7 @@ diff --git a/drivers/net/shaper.c b/drivers/net/shaper.c
        return 0;
  }
  
-@@ -271,11 +269,9 @@ static void shaper_timer(unsigned long d
+@@ -271,11 +269,9 @@
  {
        struct shaper *shaper = (struct shaper *)data;
  
@@ -55,7 +58,7 @@ diff --git a/drivers/net/shaper.c b/drivers/net/shaper.c
  }
  
  /*
-@@ -332,21 +328,6 @@ static void shaper_kick(struct shaper *s
+@@ -332,21 +328,6 @@
  
  
  /*
@@ -77,7 +80,7 @@ diff --git a/drivers/net/shaper.c b/drivers/net/shaper.c
   *    Bring the interface up. We just disallow this until a 
   *    bind.
   */
-@@ -375,7 +356,15 @@ static int shaper_open(struct net_device
+@@ -375,7 +356,15 @@
  static int shaper_close(struct net_device *dev)
  {
        struct shaper *shaper=dev->priv;
@@ -94,7 +97,7 @@ diff --git a/drivers/net/shaper.c b/drivers/net/shaper.c
        del_timer_sync(&shaper->timer);
        return 0;
  }
-@@ -576,6 +565,7 @@ static void shaper_init_priv(struct net_
+@@ -576,6 +565,7 @@
        init_timer(&sh->timer);
        sh->timer.function=shaper_timer;
        sh->timer.data=(unsigned long)sh;
@@ -102,10 +105,9 @@ diff --git a/drivers/net/shaper.c b/drivers/net/shaper.c
  }
  
  /*
-diff --git a/include/linux/if_shaper.h b/include/linux/if_shaper.h
---- a/include/linux/if_shaper.h
-+++ b/include/linux/if_shaper.h
-@@ -23,7 +23,7 @@ struct shaper
+--- linux-2.6.12.2.orig/include/linux/if_shaper.h      2005-06-17 12:48:29.000000000 -0700
++++ linux-2.6.12.2/include/linux/if_shaper.h   2005-07-13 10:56:34.000000000 -0700
+@@ -23,7 +23,7 @@
        __u32 shapeclock;
        unsigned long recovery; /* Time we can next clock a packet out on
                                   an empty queue */
@@ -114,4 +116,3 @@ diff --git a/include/linux/if_shaper.h b/include/linux/if_shaper.h
          struct net_device_stats stats;
        struct net_device *dev;
        int  (*hard_start_xmit) (struct sk_buff *skb,
-
index 49817dce7a34fcb7ed224f45ee8abca0f9fb02b2..af3d6b40d1bfa844eb9cead5596fb2965d731c01 100644 (file)
@@ -11,16 +11,14 @@ a bitrotten variant of the slip driver.
 
 Signed-off-by: Ralf Baechle DL5RB <ralf@linux-mips.org>
 Signed-off-by: Chris Wright <chrisw@osdl.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
 ---
-
  drivers/net/hamradio/Kconfig |    2 +-
  1 files changed, 1 insertion(+), 1 deletion(-)
 
-Index: linux-2.6.12.y/drivers/net/hamradio/Kconfig
-===================================================================
---- linux-2.6.12.y.orig/drivers/net/hamradio/Kconfig
-+++ linux-2.6.12.y/drivers/net/hamradio/Kconfig
-@@ -17,7 +17,7 @@ config MKISS
+--- linux-2.6.12.2.orig/drivers/net/hamradio/Kconfig   2005-06-17 12:48:29.000000000 -0700
++++ linux-2.6.12.2/drivers/net/hamradio/Kconfig        2005-07-13 10:56:32.000000000 -0700
+@@ -17,7 +17,7 @@
  
  config 6PACK
        tristate "Serial port 6PACK driver"
index d36b5e84b591708eb3b9167a9f87a786b7818347..e4c4a697e1c1dcb464b6aaf559fe3b44ddb1dca6 100644 (file)
@@ -18,18 +18,16 @@ location.
 
 Signed-off-by: Kylene Hall <kjhall@us.ibm.com>
 Signed-off-by: Chris Wright <chrisw@osdl.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
 ---
-
  drivers/char/tpm/tpm.c       |   76 -------------------------------------------
  drivers/char/tpm/tpm.h       |    2 -
  drivers/char/tpm/tpm_atmel.c |   16 +++++----
  drivers/char/tpm/tpm_nsc.c   |   16 +++++----
  4 files changed, 20 insertions(+), 90 deletions(-)
 
-Index: linux-2.6.12.y/drivers/char/tpm/tpm_atmel.c
-===================================================================
---- linux-2.6.12.y.orig/drivers/char/tpm/tpm_atmel.c
-+++ linux-2.6.12.y/drivers/char/tpm/tpm_atmel.c
+--- linux-2.6.12.2.orig/drivers/char/tpm/tpm_atmel.c   2005-06-17 12:48:29.000000000 -0700
++++ linux-2.6.12.2/drivers/char/tpm/tpm_atmel.c        2005-07-13 10:56:27.000000000 -0700
 @@ -22,7 +22,10 @@
  #include "tpm.h"
  
@@ -42,7 +40,7 @@ Index: linux-2.6.12.y/drivers/char/tpm/tpm_atmel.c
  
  /* write status bits */
  #define       ATML_STATUS_ABORT               0x01
-@@ -127,7 +130,6 @@ static struct tpm_vendor_specific tpm_at
+@@ -127,7 +130,6 @@
        .cancel = tpm_atml_cancel,
        .req_complete_mask = ATML_STATUS_BUSY | ATML_STATUS_DATA_AVAIL,
        .req_complete_val = ATML_STATUS_DATA_AVAIL,
@@ -50,7 +48,7 @@ Index: linux-2.6.12.y/drivers/char/tpm/tpm_atmel.c
        .miscdev = { .fops = &atmel_ops, },
  };
  
-@@ -136,14 +138,16 @@ static int __devinit tpm_atml_init(struc
+@@ -136,14 +138,16 @@
  {
        u8 version[4];
        int rc = 0;
@@ -71,10 +69,8 @@ Index: linux-2.6.12.y/drivers/char/tpm/tpm_atmel.c
  
        /* verify that it is an Atmel part */
        if (tpm_read_index(4) != 'A' || tpm_read_index(5) != 'T'
-Index: linux-2.6.12.y/drivers/char/tpm/tpm.c
-===================================================================
---- linux-2.6.12.y.orig/drivers/char/tpm/tpm.c
-+++ linux-2.6.12.y/drivers/char/tpm/tpm.c
+--- linux-2.6.12.2.orig/drivers/char/tpm/tpm.c 2005-06-17 12:48:29.000000000 -0700
++++ linux-2.6.12.2/drivers/char/tpm/tpm.c      2005-07-13 10:56:27.000000000 -0700
 @@ -32,12 +32,6 @@
  
  #define       TPM_BUFSIZE                     2048
@@ -88,7 +84,7 @@ Index: linux-2.6.12.y/drivers/char/tpm/tpm.c
  static LIST_HEAD(tpm_chip_list);
  static DEFINE_SPINLOCK(driver_lock);
  static int dev_mask[32];
-@@ -61,72 +55,6 @@ void tpm_time_expired(unsigned long ptr)
+@@ -61,72 +55,6 @@
  EXPORT_SYMBOL_GPL(tpm_time_expired);
  
  /*
@@ -161,7 +157,7 @@ Index: linux-2.6.12.y/drivers/char/tpm/tpm.c
   * Internal kernel interface to transmit TPM commands
   */
  static ssize_t tpm_transmit(struct tpm_chip *chip, const char *buf,
-@@ -590,10 +518,6 @@ int tpm_pm_resume(struct pci_dev *pci_de
+@@ -590,10 +518,6 @@
        if (chip == NULL)
                return -ENODEV;
  
@@ -172,11 +168,9 @@ Index: linux-2.6.12.y/drivers/char/tpm/tpm.c
        return 0;
  }
  
-Index: linux-2.6.12.y/drivers/char/tpm/tpm.h
-===================================================================
---- linux-2.6.12.y.orig/drivers/char/tpm/tpm.h
-+++ linux-2.6.12.y/drivers/char/tpm/tpm.h
-@@ -79,8 +79,6 @@ static inline void tpm_write_index(int i
+--- linux-2.6.12.2.orig/drivers/char/tpm/tpm.h 2005-06-17 12:48:29.000000000 -0700
++++ linux-2.6.12.2/drivers/char/tpm/tpm.h      2005-07-13 10:56:27.000000000 -0700
+@@ -79,8 +79,6 @@
  }
  
  extern void tpm_time_expired(unsigned long);
@@ -185,10 +179,8 @@ Index: linux-2.6.12.y/drivers/char/tpm/tpm.h
  extern int tpm_register_hardware(struct pci_dev *,
                                 struct tpm_vendor_specific *);
  extern int tpm_open(struct inode *, struct file *);
-Index: linux-2.6.12.y/drivers/char/tpm/tpm_nsc.c
-===================================================================
---- linux-2.6.12.y.orig/drivers/char/tpm/tpm_nsc.c
-+++ linux-2.6.12.y/drivers/char/tpm/tpm_nsc.c
+--- linux-2.6.12.2.orig/drivers/char/tpm/tpm_nsc.c     2005-06-17 12:48:29.000000000 -0700
++++ linux-2.6.12.2/drivers/char/tpm/tpm_nsc.c  2005-07-13 10:56:27.000000000 -0700
 @@ -24,6 +24,10 @@
  /* National definitions */
  #define       TPM_NSC_BASE                    0x360
@@ -200,7 +192,7 @@ Index: linux-2.6.12.y/drivers/char/tpm/tpm_nsc.c
  
  #define       NSC_LDN_INDEX                   0x07
  #define       NSC_SID_INDEX                   0x20
-@@ -234,7 +238,6 @@ static struct tpm_vendor_specific tpm_ns
+@@ -234,7 +238,6 @@
        .cancel = tpm_nsc_cancel,
        .req_complete_mask = NSC_STATUS_OBF,
        .req_complete_val = NSC_STATUS_OBF,
@@ -208,7 +200,7 @@ Index: linux-2.6.12.y/drivers/char/tpm/tpm_nsc.c
        .miscdev = { .fops = &nsc_ops, },
        
  };
-@@ -243,15 +246,16 @@ static int __devinit tpm_nsc_init(struct
+@@ -243,15 +246,16 @@
                                  const struct pci_device_id *pci_id)
  {
        int rc = 0;
index d1efa7594284f5f180f5e4c839b8d40233e157d9..4c6d6b111bc5b171d1ed444213b491982a054cba 100644 (file)
@@ -11,15 +11,14 @@ Now, 50% Hue means no offset, just like bt878 stuff.
 Signed-off-by: Michael Krufky <mkrufky@m1k.net>
 Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
 Signed-off-by: Chris Wright <chrisw@osdl.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
 ---
-
- cx88-video.c |    2 +-
+ drivers/media/video/cx88/cx88-video.c |    2 +-
  1 files changed, 1 insertion(+), 1 deletion(-)
 
-diff -upr linux-2.6.12.2/drivers/media/video/cx88/cx88-video.c linux/drivers/media/video/cx88/cx88-video.c
---- linux-2.6.12.2/drivers/media/video/cx88/cx88-video.c       2005-06-17 15:48:29.000000000 -0400
-+++ linux/drivers/media/video/cx88/cx88-video.c        2005-06-30 11:47:49.000000000 -0400
-@@ -261,7 +261,7 @@ static struct cx88_ctrl cx8800_ctls[] = 
+--- linux-2.6.12.2.orig/drivers/media/video/cx88/cx88-video.c  2005-06-17 12:48:29.000000000 -0700
++++ linux-2.6.12.2/drivers/media/video/cx88/cx88-video.c       2005-07-13 10:56:14.000000000 -0700
+@@ -261,7 +261,7 @@
                        .default_value = 0,
                        .type          = V4L2_CTRL_TYPE_INTEGER,
                },
@@ -28,4 +27,3 @@ diff -upr linux-2.6.12.2/drivers/media/video/cx88/cx88-video.c linux/drivers/med
                .reg                   = MO_HUE,
                .mask                  = 0x00ff,
                .shift                 = 0,
-
index a537616274eb303724310da7bfda6f3301985787..aa219f1ef2a01e2cffda3fd6adb7cea2b13db30c 100644 (file)
@@ -27,15 +27,14 @@ Signed-off-by: Zaur Kambarov <zkambarov@coverity.com>
 Acked-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
 Signed-off-by: Andrew Morton <akpm@osdl.org>
 Signed-off-by: Chris Wright <chrisw@osdl.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
 ---
-
  drivers/char/tty_ioctl.c |    4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)
 
-diff -puN drivers/char/tty_ioctl.c~coverity-tty_ldisc_ref-return-null-check drivers/char/tty_ioctl.c
---- stable/drivers/char/tty_ioctl.c~coverity-tty_ldisc_ref-return-null-check   2005-06-29 18:11:16.000000000 -0700
-+++ stable-akpm/drivers/char/tty_ioctl.c       2005-06-29 18:11:16.000000000 -0700
-@@ -476,11 +476,11 @@ int n_tty_ioctl(struct tty_struct * tty,
+--- linux-2.6.12.2.orig/drivers/char/tty_ioctl.c       2005-06-17 12:48:29.000000000 -0700
++++ linux-2.6.12.2/drivers/char/tty_ioctl.c    2005-07-13 10:56:39.000000000 -0700
+@@ -476,11 +476,11 @@
                        ld = tty_ldisc_ref(tty);
                        switch (arg) {
                        case TCIFLUSH:
@@ -49,4 +48,3 @@ diff -puN drivers/char/tty_ioctl.c~coverity-tty_ldisc_ref-return-null-check driv
                                        ld->flush_buffer(tty);
                                /* fall through */
                        case TCOFLUSH:
-_
index 9908c0fb6d82e12d306d5372b03198c8711ad689..1a9914975aa04fe477a18f89b2ea2a9bef233ebc 100644 (file)
@@ -30,15 +30,14 @@ http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=
 Signed-off-by: Jeff Dike <jdike@addtoit.com>
 Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
 Signed-off-by: Chris Wright <chrisw@osdl.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
 ---
-
- vanilla-linux-2.6.12-paolo/arch/um/kernel/process.c |   48 ++++++++++++--------
+ arch/um/kernel/process.c |   48 ++++++++++++++++++++++++++++-------------------
  1 files changed, 29 insertions(+), 19 deletions(-)
 
-diff -puN arch/um/kernel/process.c~uml-revert-fork-instead-of-clone arch/um/kernel/process.c
---- vanilla-linux-2.6.12/arch/um/kernel/process.c~uml-revert-fork-instead-of-clone     2005-07-12 18:22:03.000000000 +0200
-+++ vanilla-linux-2.6.12-paolo/arch/um/kernel/process.c        2005-07-12 18:22:03.000000000 +0200
-@@ -130,7 +130,7 @@ int start_fork_tramp(void *thread_arg, u
+--- linux-2.6.12.2.orig/arch/um/kernel/process.c       2005-06-17 12:48:29.000000000 -0700
++++ linux-2.6.12.2/arch/um/kernel/process.c    2005-07-13 10:56:41.000000000 -0700
+@@ -130,7 +130,7 @@
        return(arg.pid);
  }
  
@@ -47,7 +46,7 @@ diff -puN arch/um/kernel/process.c~uml-revert-fork-instead-of-clone arch/um/kern
  {
        int ret;
        int pid = os_getpid(), ppid = getppid();
-@@ -159,16 +159,20 @@ static int ptrace_child(void)
+@@ -159,16 +159,20 @@
        _exit(ret);
  }
  
@@ -74,7 +73,7 @@ diff -puN arch/um/kernel/process.c~uml-revert-fork-instead-of-clone arch/um/kern
        CATCH_EINTR(n = waitpid(pid, &status, WUNTRACED));
        if(n < 0)
                panic("check_ptrace : wait failed, errno = %d", errno);
-@@ -176,6 +180,7 @@ static int start_ptraced_child(void)
+@@ -176,6 +180,7 @@
                panic("check_ptrace : expected SIGSTOP, got status = %d",
                      status);
  
@@ -82,7 +81,7 @@ diff -puN arch/um/kernel/process.c~uml-revert-fork-instead-of-clone arch/um/kern
        return(pid);
  }
  
-@@ -183,12 +188,12 @@ static int start_ptraced_child(void)
+@@ -183,12 +188,12 @@
   * just avoid using sysemu, not panic, but only if SYSEMU features are broken.
   * So only for SYSEMU features we test mustpanic, while normal host features
   * must work anyway!*/
@@ -97,7 +96,7 @@ diff -puN arch/um/kernel/process.c~uml-revert-fork-instead-of-clone arch/um/kern
        CATCH_EINTR(n = waitpid(pid, &status, 0));
        if(!WIFEXITED(status) || (WEXITSTATUS(status) != exitcode)) {
                int exit_with = WEXITSTATUS(status);
-@@ -199,13 +204,15 @@ static int stop_ptraced_child(int pid, i
+@@ -199,13 +204,15 @@
                printk("check_ptrace : child exited with exitcode %d, while "
                      "expecting %d; status 0x%x", exit_with,
                      exitcode, status);
@@ -114,7 +113,7 @@ diff -puN arch/um/kernel/process.c~uml-revert-fork-instead-of-clone arch/um/kern
        return ret;
  }
  
-@@ -227,11 +234,12 @@ __uml_setup("nosysemu", nosysemu_cmd_par
+@@ -227,11 +234,12 @@
  
  static void __init check_sysemu(void)
  {
@@ -128,7 +127,7 @@ diff -puN arch/um/kernel/process.c~uml-revert-fork-instead-of-clone arch/um/kern
  
        if(ptrace(PTRACE_SYSEMU, pid, 0, 0) < 0)
                goto fail;
-@@ -249,7 +257,7 @@ static void __init check_sysemu(void)
+@@ -249,7 +257,7 @@
                panic("check_sysemu : failed to modify system "
                      "call return, errno = %d", errno);
  
@@ -137,7 +136,7 @@ diff -puN arch/um/kernel/process.c~uml-revert-fork-instead-of-clone arch/um/kern
                goto fail_stopped;
  
        sysemu_supported = 1;
-@@ -257,7 +265,7 @@ static void __init check_sysemu(void)
+@@ -257,7 +265,7 @@
        set_using_sysemu(!force_sysemu_disabled);
  
        printk("Checking advanced syscall emulation patch for ptrace...");
@@ -146,7 +145,7 @@ diff -puN arch/um/kernel/process.c~uml-revert-fork-instead-of-clone arch/um/kern
        while(1){
                count++;
                if(ptrace(PTRACE_SYSEMU_SINGLESTEP, pid, 0, 0) < 0)
-@@ -282,7 +290,7 @@ static void __init check_sysemu(void)
+@@ -282,7 +290,7 @@
                        break;
                }
        }
@@ -155,7 +154,7 @@ diff -puN arch/um/kernel/process.c~uml-revert-fork-instead-of-clone arch/um/kern
                goto fail_stopped;
  
        sysemu_supported = 2;
-@@ -293,17 +301,18 @@ static void __init check_sysemu(void)
+@@ -293,17 +301,18 @@
        return;
  
  fail:
@@ -176,7 +175,7 @@ diff -puN arch/um/kernel/process.c~uml-revert-fork-instead-of-clone arch/um/kern
  
        if (ptrace(PTRACE_OLDSETOPTIONS, pid, 0, (void *)PTRACE_O_TRACESYSGOOD) < 0)
                panic("check_ptrace: PTRACE_SETOPTIONS failed, errno = %d", errno);
-@@ -330,7 +339,7 @@ void __init check_ptrace(void)
+@@ -330,7 +339,7 @@
                        break;
                }
        }
@@ -185,7 +184,7 @@ diff -puN arch/um/kernel/process.c~uml-revert-fork-instead-of-clone arch/um/kern
        printk("OK\n");
        check_sysemu();
  }
-@@ -362,10 +371,11 @@ void forward_pending_sigio(int target)
+@@ -362,10 +371,11 @@
  static inline int check_skas3_ptrace_support(void)
  {
        struct ptrace_faultinfo fi;
@@ -198,7 +197,7 @@ diff -puN arch/um/kernel/process.c~uml-revert-fork-instead-of-clone arch/um/kern
  
        n = ptrace(PTRACE_FAULTINFO, pid, 0, &fi);
        if (n < 0) {
-@@ -380,7 +390,7 @@ static inline int check_skas3_ptrace_sup
+@@ -380,7 +390,7 @@
        }
  
        init_registers(pid);
@@ -207,4 +206,3 @@ diff -puN arch/um/kernel/process.c~uml-revert-fork-instead-of-clone arch/um/kern
  
        return(ret);
  }
-_
index a1d93ec1d0b44304cb0efb7ed9e02a8e5bde45d9..1563f9e74dbd86aebc904d7e8f76f31471b00034 100644 (file)
@@ -8,13 +8,14 @@ This up() should be down() instead.
 
 Signed-off-by: Wen-chien Jesse Sung <jesse@cola.voip.idv.tw>
 Signed-off-by: Chris Wright <chrisw@osdl.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
 ---
+ fs/char_dev.c |    2 +-
+ 1 files changed, 1 insertion(+), 1 deletion(-)
 
-Index: linux-2.6.12.y/fs/char_dev.c
-===================================================================
---- linux-2.6.12.y.orig/fs/char_dev.c
-+++ linux-2.6.12.y/fs/char_dev.c
-@@ -139,7 +139,7 @@ __unregister_chrdev_region(unsigned majo
+--- linux-2.6.12.2.orig/fs/char_dev.c  2005-06-17 12:48:29.000000000 -0700
++++ linux-2.6.12.2/fs/char_dev.c       2005-07-13 10:54:19.000000000 -0700
+@@ -139,7 +139,7 @@
        struct char_device_struct *cd = NULL, **cp;
        int i = major_to_index(major);
  
index 951b519af4686cd8dbc69d033a48f06fc4a64c40..dce12f0aa33c0593653bdb063fe31fc890fdcddc 100644 (file)
@@ -33,8 +33,8 @@ Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
 Cc: Andi Kleen <ak@muc.de>
 Signed-off-by: Andrew Morton <akpm@osdl.org>
 Signed-off-by: Chris Wright <chrisw@osdl.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
 ---
-
  arch/x86_64/ia32/ia32_binfmt.c  |    5 +----
  arch/x86_64/kernel/process.c    |    4 ++--
  arch/x86_64/kernel/ptrace.c     |   17 ++++++++++-------
@@ -44,10 +44,9 @@ Signed-off-by: Chris Wright <chrisw@osdl.org>
  include/asm-x86_64/processor.h  |   11 ++++++-----
  7 files changed, 25 insertions(+), 30 deletions(-)
 
-diff -puN arch/x86_64/ia32/ia32_binfmt.c~x86_64-task_size-fixes-for-compatibility-mode-processes arch/x86_64/ia32/ia32_binfmt.c
---- stable/arch/x86_64/ia32/ia32_binfmt.c~x86_64-task_size-fixes-for-compatibility-mode-processes      2005-06-29 18:11:13.000000000 -0700
-+++ stable-akpm/arch/x86_64/ia32/ia32_binfmt.c 2005-06-29 18:11:13.000000000 -0700
-@@ -46,7 +46,7 @@ struct elf_phdr; 
+--- linux-2.6.12.2.orig/arch/x86_64/ia32/ia32_binfmt.c 2005-06-17 12:48:29.000000000 -0700
++++ linux-2.6.12.2/arch/x86_64/ia32/ia32_binfmt.c      2005-07-13 10:56:37.000000000 -0700
+@@ -46,7 +46,7 @@
  
  #define IA32_EMULATOR 1
  
@@ -56,7 +55,7 @@ diff -puN arch/x86_64/ia32/ia32_binfmt.c~x86_64-task_size-fixes-for-compatibilit
  
  #undef ELF_ARCH
  #define ELF_ARCH EM_386
-@@ -307,9 +307,6 @@ MODULE_AUTHOR("Eric Youngdale, Andi Klee
+@@ -307,9 +307,6 @@
  
  #define elf_addr_t __u32
  
@@ -66,10 +65,9 @@ diff -puN arch/x86_64/ia32/ia32_binfmt.c~x86_64-task_size-fixes-for-compatibilit
  static void elf32_init(struct pt_regs *);
  
  #define ARCH_HAS_SETUP_ADDITIONAL_PAGES 1
-diff -puN arch/x86_64/kernel/process.c~x86_64-task_size-fixes-for-compatibility-mode-processes arch/x86_64/kernel/process.c
---- stable/arch/x86_64/kernel/process.c~x86_64-task_size-fixes-for-compatibility-mode-processes        2005-06-29 18:11:13.000000000 -0700
-+++ stable-akpm/arch/x86_64/kernel/process.c   2005-06-29 18:11:13.000000000 -0700
-@@ -656,7 +656,7 @@ long do_arch_prctl(struct task_struct *t
+--- linux-2.6.12.2.orig/arch/x86_64/kernel/process.c   2005-06-17 12:48:29.000000000 -0700
++++ linux-2.6.12.2/arch/x86_64/kernel/process.c        2005-07-13 10:56:37.000000000 -0700
+@@ -656,7 +656,7 @@
  
        switch (code) { 
        case ARCH_SET_GS:
@@ -78,7 +76,7 @@ diff -puN arch/x86_64/kernel/process.c~x86_64-task_size-fixes-for-compatibility-
                        return -EPERM; 
                cpu = get_cpu();
                /* handle small bases via the GDT because that's faster to 
-@@ -682,7 +682,7 @@ long do_arch_prctl(struct task_struct *t
+@@ -682,7 +682,7 @@
        case ARCH_SET_FS:
                /* Not strictly needed for fs, but do it for symmetry
                   with gs */
@@ -87,10 +85,9 @@ diff -puN arch/x86_64/kernel/process.c~x86_64-task_size-fixes-for-compatibility-
                        return -EPERM; 
                cpu = get_cpu();
                /* handle small bases via the GDT because that's faster to 
-diff -puN arch/x86_64/kernel/ptrace.c~x86_64-task_size-fixes-for-compatibility-mode-processes arch/x86_64/kernel/ptrace.c
---- stable/arch/x86_64/kernel/ptrace.c~x86_64-task_size-fixes-for-compatibility-mode-processes 2005-06-29 18:11:13.000000000 -0700
-+++ stable-akpm/arch/x86_64/kernel/ptrace.c    2005-06-29 18:11:13.000000000 -0700
-@@ -257,12 +257,12 @@ static int putreg(struct task_struct *ch
+--- linux-2.6.12.2.orig/arch/x86_64/kernel/ptrace.c    2005-06-17 12:48:29.000000000 -0700
++++ linux-2.6.12.2/arch/x86_64/kernel/ptrace.c 2005-07-13 10:56:37.000000000 -0700
+@@ -257,12 +257,12 @@
                        value &= 0xffff;
                        return 0;
                case offsetof(struct user_regs_struct,fs_base):
@@ -105,7 +102,7 @@ diff -puN arch/x86_64/kernel/ptrace.c~x86_64-task_size-fixes-for-compatibility-m
                                return -EIO;
                        child->thread.gs = value;
                        return 0;
-@@ -279,7 +279,7 @@ static int putreg(struct task_struct *ch
+@@ -279,7 +279,7 @@
                        break;
                case offsetof(struct user_regs_struct, rip):
                        /* Check if the new RIP address is canonical */
@@ -114,7 +111,7 @@ diff -puN arch/x86_64/kernel/ptrace.c~x86_64-task_size-fixes-for-compatibility-m
                                return -EIO;
                        break;
        }
-@@ -419,6 +419,8 @@ asmlinkage long sys_ptrace(long request,
+@@ -419,6 +419,8 @@
                break;
  
        case PTRACE_POKEUSR: /* write the word at location addr in the USER area */
@@ -123,7 +120,7 @@ diff -puN arch/x86_64/kernel/ptrace.c~x86_64-task_size-fixes-for-compatibility-m
                ret = -EIO;
                if ((addr & 7) ||
                    addr > sizeof(struct user) - 7)
-@@ -430,22 +432,22 @@ asmlinkage long sys_ptrace(long request,
+@@ -430,22 +432,22 @@
                        break;
                /* Disallows to set a breakpoint into the vsyscall */
                case offsetof(struct user, u_debugreg[0]):
@@ -150,7 +147,7 @@ diff -puN arch/x86_64/kernel/ptrace.c~x86_64-task_size-fixes-for-compatibility-m
                        child->thread.debugreg3 = data;
                        ret = 0;
                        break;
-@@ -469,6 +471,7 @@ asmlinkage long sys_ptrace(long request,
+@@ -469,6 +471,7 @@
                  break;
                }
                break;
@@ -158,10 +155,9 @@ diff -puN arch/x86_64/kernel/ptrace.c~x86_64-task_size-fixes-for-compatibility-m
        case PTRACE_SYSCALL: /* continue and stop at next (return from) syscall */
        case PTRACE_CONT:    /* restart after signal. */
  
-diff -puN arch/x86_64/kernel/sys_x86_64.c~x86_64-task_size-fixes-for-compatibility-mode-processes arch/x86_64/kernel/sys_x86_64.c
---- stable/arch/x86_64/kernel/sys_x86_64.c~x86_64-task_size-fixes-for-compatibility-mode-processes     2005-06-29 18:11:13.000000000 -0700
-+++ stable-akpm/arch/x86_64/kernel/sys_x86_64.c        2005-06-29 18:11:13.000000000 -0700
-@@ -68,13 +68,7 @@ out:
+--- linux-2.6.12.2.orig/arch/x86_64/kernel/sys_x86_64.c        2005-06-17 12:48:29.000000000 -0700
++++ linux-2.6.12.2/arch/x86_64/kernel/sys_x86_64.c     2005-07-13 10:56:37.000000000 -0700
+@@ -68,13 +68,7 @@
  static void find_start_end(unsigned long flags, unsigned long *begin,
                           unsigned long *end)
  {
@@ -176,7 +172,7 @@ diff -puN arch/x86_64/kernel/sys_x86_64.c~x86_64-task_size-fixes-for-compatibili
                /* This is usually used needed to map code in small
                   model, so it needs to be in the first 31bit. Limit
                   it to that.  This means we need to move the
-@@ -84,10 +78,10 @@ static void find_start_end(unsigned long
+@@ -84,10 +78,10 @@
                   of playground for now. -AK */ 
                *begin = 0x40000000; 
                *end = 0x80000000;              
@@ -190,10 +186,9 @@ diff -puN arch/x86_64/kernel/sys_x86_64.c~x86_64-task_size-fixes-for-compatibili
  } 
  
  unsigned long
-diff -puN arch/x86_64/mm/fault.c~x86_64-task_size-fixes-for-compatibility-mode-processes arch/x86_64/mm/fault.c
---- stable/arch/x86_64/mm/fault.c~x86_64-task_size-fixes-for-compatibility-mode-processes      2005-06-29 18:11:13.000000000 -0700
-+++ stable-akpm/arch/x86_64/mm/fault.c 2005-06-29 18:11:13.000000000 -0700
-@@ -350,7 +350,7 @@ asmlinkage void do_page_fault(struct pt_
+--- linux-2.6.12.2.orig/arch/x86_64/mm/fault.c 2005-06-17 12:48:29.000000000 -0700
++++ linux-2.6.12.2/arch/x86_64/mm/fault.c      2005-07-13 10:56:37.000000000 -0700
+@@ -350,7 +350,7 @@
         * (error_code & 4) == 0, and that the fault was not a
         * protection error (error_code & 1) == 0.
         */
@@ -202,10 +197,9 @@ diff -puN arch/x86_64/mm/fault.c~x86_64-task_size-fixes-for-compatibility-mode-p
                if (!(error_code & 5) &&
                      ((address >= VMALLOC_START && address < VMALLOC_END) ||
                       (address >= MODULES_VADDR && address < MODULES_END))) {
-diff -puN include/asm-x86_64/a.out.h~x86_64-task_size-fixes-for-compatibility-mode-processes include/asm-x86_64/a.out.h
---- stable/include/asm-x86_64/a.out.h~x86_64-task_size-fixes-for-compatibility-mode-processes  2005-06-29 18:11:13.000000000 -0700
-+++ stable-akpm/include/asm-x86_64/a.out.h     2005-06-29 18:11:13.000000000 -0700
-@@ -21,7 +21,7 @@ struct exec
+--- linux-2.6.12.2.orig/include/asm-x86_64/a.out.h     2005-06-17 12:48:29.000000000 -0700
++++ linux-2.6.12.2/include/asm-x86_64/a.out.h  2005-07-13 10:56:37.000000000 -0700
+@@ -21,7 +21,7 @@
  
  #ifdef __KERNEL__
  #include <linux/thread_info.h>
@@ -214,10 +208,9 @@ diff -puN include/asm-x86_64/a.out.h~x86_64-task_size-fixes-for-compatibility-mo
  #endif
  
  #endif /* __A_OUT_GNU_H__ */
-diff -puN include/asm-x86_64/processor.h~x86_64-task_size-fixes-for-compatibility-mode-processes include/asm-x86_64/processor.h
---- stable/include/asm-x86_64/processor.h~x86_64-task_size-fixes-for-compatibility-mode-processes      2005-06-29 18:11:13.000000000 -0700
-+++ stable-akpm/include/asm-x86_64/processor.h 2005-06-29 18:11:13.000000000 -0700
-@@ -160,16 +160,17 @@ static inline void clear_in_cr4 (unsigne
+--- linux-2.6.12.2.orig/include/asm-x86_64/processor.h 2005-06-17 12:48:29.000000000 -0700
++++ linux-2.6.12.2/include/asm-x86_64/processor.h      2005-07-13 10:56:37.000000000 -0700
+@@ -160,16 +160,17 @@
  /*
   * User space process size. 47bits minus one guard page.
   */
@@ -240,4 +233,3 @@ diff -puN include/asm-x86_64/processor.h~x86_64-task_size-fixes-for-compatibilit
  
  /*
   * Size of io_bitmap.
-_