Patch to stop backtrace on 2.6.20-rt8

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ingo,

This patch fixes a backtrace I get when disconnecting USB storage
devices (well ok, my iPod :)):


diff --git a/mm/slab.c b/mm/slab.c
index 8761f4f..948007e 100644
- --- a/mm/slab.c
+++ b/mm/slab.c
@@ -4121,7 +4121,7 @@ static int enable_cpucache(struct kmem_cache *cachep)
 int drain_array(struct kmem_cache *cachep, struct kmem_list3 *l3,
                 struct array_cache *ac, int force, int node)
 {
- -       int this_cpu = smp_processor_id();
+       int this_cpu = raw_smp_processor_id();
        int tofree;

        if (!ac || !ac->avail)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFF8JqhHyuj/+TTEp0RAghfAKDnOZyOs8cusB4tulxTKtlI1wyrawCglEX3
GqENx7vnk9jrwD5w7WRfV2I=
=9qJX
-----END PGP SIGNATURE-----
-
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux