linux/include
Parag Warudkar bca25bafbb x86: fix dmi_alloc() to not advance alloc index in case of
dmi_alloc() for CONFIG_X86_64 is defined to allocate from a static array
and it maintains a allocation index which is advanced each time allocation
is attempted - it gets incremented even if an allocation fails thereby
depriving any future request that may be small enough to be satisfied from
the array.

Fix this by first testing if allocation is going to be possible and
incrementing alloc index only then.

Signed-off-by: Parag Warudkar <parag.warudkar@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-01-30 13:31:59 +01:00
..
acpi x86: dummy placeholder for acpi/reboot.h 2008-01-30 13:31:17 +01:00
asm-alpha
asm-arm ext4: Add ext4_find_next_bit() 2008-01-28 23:58:27 -05:00
asm-avr32 remove __attribute_used__ 2008-01-28 23:21:18 +01:00
asm-blackfin
asm-cris
asm-frv
asm-generic Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild 2008-01-29 22:46:14 +11:00
asm-h8300
asm-ia64 remove __attribute_used__ 2008-01-28 23:21:18 +01:00
asm-m32r core: remove last users of empty FASTCALL macro 2008-01-30 13:31:17 +01:00
asm-m68k ext4: Add ext4_find_next_bit() 2008-01-28 23:58:27 -05:00
asm-m68knommu ext4: Add ext4_find_next_bit() 2008-01-28 23:58:27 -05:00
asm-mips [MIPS] Malta, Atlas: move an extern function declaration to the header file 2008-01-29 10:15:05 +00:00
asm-parisc
asm-powerpc powerpc: arch_has_single_step 2008-01-30 13:30:51 +01:00
asm-ppc
asm-s390 ext4: Add ext4_find_next_bit() 2008-01-28 23:58:27 -05:00
asm-sh remove __attribute_used__ 2008-01-28 23:21:18 +01:00
asm-sparc
asm-sparc64
asm-um uml: add asm-um/asm.h 2008-01-30 13:31:17 +01:00
asm-v850
asm-x86 x86: fix dmi_alloc() to not advance alloc index in case of 2008-01-30 13:31:59 +01:00
asm-xtensa
crypto
keys
linux x86: x86 core dump TLS 2008-01-30 13:31:56 +01:00
math-emu
media
mtd
net [NET_SCHED]: act_api: use PTR_ERR in tcf_action_init/tcf_action_get 2008-01-28 15:11:17 -08:00
pcmcia
rdma
rxrpc
scsi
sound
video
xen
Kbuild