linux-stable-rt/include/asm-x86
Jeremy Fitzhardinge 1c54d77078 x86: partial unification of asm-x86/bitops.h
This unifies the set/clear/test bit functions of asm/bitops.h.

I have not attempted to merge the bit-finding functions, since they
rely on the machine word size and can't be easily restructured to work
generically without a lot of #ifdefs.  In particular, the 64-bit code
can assume the presence of conditional move instructions, whereas
32-bit needs to be more careful.

The inline assembly for the bit operations has been changed to remove
explicit sizing hints on the instructions, so the assembler will pick
the appropriate instruction forms depending on the architecture and
the context.

Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Cc: Andi Kleen <ak@suse.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-01-30 13:30:55 +01:00
..
mach-bigsmp x86: cleanup mpspec variants 2008-01-30 13:30:35 +01:00
mach-default x86: cleanup mpspec variants 2008-01-30 13:30:35 +01:00
mach-es7000 x86: cleanup mpspec variants 2008-01-30 13:30:35 +01:00
mach-generic
mach-numaq x86: cleanup mpspec variants 2008-01-30 13:30:35 +01:00
mach-summit x86: cleanup mpspec variants 2008-01-30 13:30:35 +01:00
mach-visws
mach-voyager x86: voyager use correct header file name 2007-11-17 16:27:00 +01:00
xen
Kbuild x86 vDSO: ia32 vsyscall removal 2008-01-30 13:30:44 +01:00
a.out.h
acpi.h x86: merge acpi_32/64.h 2008-01-30 13:30:36 +01:00
agp.h
alternative-asm.h
alternative.h x86: actually merge <asm/alternative.h> 2008-01-30 13:30:30 +01:00
apic.h x86: extended interrupt LVT support for AMD Barcelona 2008-01-30 13:30:40 +01:00
apicdef.h x86: extended interrupt LVT support for AMD Barcelona 2008-01-30 13:30:40 +01:00
arch_hooks.h x86: move debug related declarations to kdebug.h 2008-01-30 13:30:17 +01:00
asm.h x86: merge resume-trace.h variants 2008-01-30 13:30:38 +01:00
atomic.h
atomic_32.h
atomic_64.h
auxvec.h
bitops.h x86: partial unification of asm-x86/bitops.h 2008-01-30 13:30:55 +01:00
bitops_32.h x86: partial unification of asm-x86/bitops.h 2008-01-30 13:30:55 +01:00
bitops_64.h x86: partial unification of asm-x86/bitops.h 2008-01-30 13:30:55 +01:00
boot.h
bootparam.h
bug.h x86: nuke a ton of unused exports 2008-01-30 13:30:28 +01:00
bugs.h
byteorder.h x86: fix asm-x86/byteorder.h for userspace export 2008-01-01 19:12:15 +01:00
cache.h
cacheflush.h
calgary.h
calling.h
checksum.h
checksum_32.h
checksum_64.h x86: remove more bogus filenames in comments. 2008-01-30 13:30:28 +01:00
cmpxchg.h
cmpxchg_32.h x86: fall back on interrupt disable in cmpxchg8b on 80386 and 80486 2008-01-30 13:30:47 +01:00
cmpxchg_64.h
compat.h
cpu.h
cpufeature.h x86: cleanup tlbflush.h variants 2008-01-30 13:30:35 +01:00
cputime.h
current.h
current_32.h
current_64.h
debugreg.h
delay.h
desc.h
desc_32.h
desc_64.h x86: get_desc_base 2008-01-30 13:30:44 +01:00
desc_defs.h
device.h
div64.h x86: unify div64{,_32,_64}.h 2007-10-23 22:37:23 +02:00
dma-mapping.h
dma-mapping_32.h
dma-mapping_64.h
dma.h x86: merge include/asm-x86/dma.h 2008-01-30 13:30:20 +01:00
dmi.h
dwarf2.h
dwarf2_32.h
dwarf2_64.h
e820.h
e820_32.h x86: remove extern declarations for code, data, bss resources 2008-01-30 13:30:32 +01:00
e820_64.h x86: remove extern declarations for code, data, bss resources 2008-01-30 13:30:32 +01:00
edac.h
elf.h x86 vDSO: consolidate vdso32 2008-01-30 13:30:43 +01:00
emergency-restart.h
errno.h
fb.h
fcntl.h
fixmap.h
fixmap_32.h
fixmap_64.h
floppy.h
fpu32.h
frame.h
futex.h x86: merge futex_32/64.h 2008-01-30 13:30:20 +01:00
gart.h x86 gart: rename symbols only used for the GART implementation 2007-10-30 00:22:22 +01:00
genapic.h
genapic_32.h
genapic_64.h
geode.h
hardirq.h
hardirq_32.h
hardirq_64.h
highmem.h
hpet.h x86: offer is_hpet_enabled() on !CONFIG_HPET_TIMER too 2008-01-30 13:30:02 +01:00
hw_irq.h
hw_irq_32.h
hw_irq_64.h x86: clear IO_APIC before enabing apic error vector. 2008-01-30 13:30:39 +01:00
hypertransport.h
i387.h
i387_32.h x86: remove more bogus filenames in comments. 2008-01-30 13:30:28 +01:00
i387_64.h x86: remove more bogus filenames in comments. 2008-01-30 13:30:28 +01:00
i8253.h
i8259.h x86: move 8259 defines to i8259.h 2008-01-30 13:30:29 +01:00
ia32.h x86: TLS cleanup 2008-01-30 13:30:46 +01:00
ia32_unistd.h x86: remove more bogus filenames in comments. 2008-01-30 13:30:28 +01:00
ide.h x86: remove more bogus filenames in comments. 2008-01-30 13:30:28 +01:00
idle.h x86: remove dead code and exports 2008-01-30 13:30:28 +01:00
intel_arch_perfmon.h
io.h
io_32.h x86: various changes and cleanups to in_p/out_p delay details 2008-01-30 13:30:05 +01:00
io_64.h x86: various changes and cleanups to in_p/out_p delay details 2008-01-30 13:30:05 +01:00
io_apic.h x86: merge include/asm-x86/sparsemem.h 2008-01-30 13:30:37 +01:00
ioctl.h
ioctls.h
iommu.h x86 gart: rename iommu.h to gart.h 2007-10-30 00:22:22 +01:00
ipcbuf.h
ipi.h
irq.h
irq_32.h
irq_64.h
irq_regs.h
irq_regs_32.h
irq_regs_64.h
irqflags.h x86: irqflags consolidation 2008-01-30 13:30:33 +01:00
ist.h
k8.h x86: move k8 related declarations 2008-01-30 13:30:16 +01:00
kdebug.h x86: move debug related declarations to kdebug.h 2008-01-30 13:30:17 +01:00
kexec.h
kexec_32.h
kexec_64.h
kmap_types.h
kprobes.h
kprobes_32.h x86: jprobe bugfix 2007-12-18 18:05:58 +01:00
kprobes_64.h x86: jprobe bugfix 2007-12-18 18:05:58 +01:00
ldt.h
lguest.h
lguest_hcall.h lguest: make async_hcall() static 2007-11-05 21:53:29 +11:00
linkage.h
linkage_32.h
linkage_64.h
local.h
local_32.h
local_64.h
mach_apic.h
math_emu.h
mc146818rtc.h x86: isolate the rtc code for sharing 2008-01-30 13:30:26 +01:00
mca.h
mca_dma.h
mce.h x86: move mce related declarations 2008-01-30 13:30:17 +01:00
mman.h
mmsegment.h
mmu.h
mmu_context.h
mmu_context_32.h
mmu_context_64.h x86: nuke a ton of unused exports 2008-01-30 13:30:28 +01:00
mmx.h
mmzone.h
mmzone_32.h x86: put all kern_addr_valid() incarnations to pgtable.h 2008-01-30 13:30:37 +01:00
mmzone_64.h x86: 64-bit, make sparsemem vmemmap the only memory model 2008-01-30 13:30:47 +01:00
module.h
module_32.h
module_64.h
mpspec.h x86: cleanup smp.h variants 2008-01-30 13:30:36 +01:00
mpspec_def.h x86: cleanup mpspec variants 2008-01-30 13:30:35 +01:00
msgbuf.h x86: merge msgbuf_32/64.h 2007-10-23 22:37:24 +02:00
msidef.h
msr-index.h x86: debugctlmsr constants 2008-01-30 13:30:54 +01:00
msr.h x86: asm-x86/msr.h: pull in linux/types.h 2008-01-15 16:44:38 +01:00
mtrr.h x86: mtrr use type bool [RESEND AGAIN] 2008-01-30 13:30:31 +01:00
mutex.h
mutex_32.h
mutex_64.h
namei.h
nmi.h
nmi_32.h x86: remove more bogus filenames in comments. 2008-01-30 13:30:28 +01:00
nmi_64.h x86: nmi_64.c: make code static 2008-01-30 13:30:31 +01:00
numa.h
numa_32.h
numa_64.h x86: fixup numa 64 namespace 2008-01-30 13:30:38 +01:00
numaq.h
page.h
page_32.h
page_64.h x86: 64-bit, make sparsemem vmemmap the only memory model 2008-01-30 13:30:47 +01:00
param.h
paravirt.h x86: irqflags consolidation 2008-01-30 13:30:33 +01:00
parport.h
pci-direct.h
pci.h x86: consolidate toloplogy_32/64.h 2008-01-30 13:30:38 +01:00
pci_32.h
pci_64.h x86: pci-dma_64.c: cleanups 2008-01-30 13:30:31 +01:00
pda.h x86: move pda related declaration 2008-01-30 13:30:18 +01:00
percpu.h
percpu_32.h
percpu_64.h
pgalloc.h
pgalloc_32.h
pgalloc_64.h
pgtable-2level-defs.h
pgtable-2level.h
pgtable-3level-defs.h
pgtable-3level.h
pgtable.h
pgtable_32.h x86: put all kern_addr_valid() incarnations to pgtable.h 2008-01-30 13:30:37 +01:00
pgtable_64.h
poll.h
posix_types.h
posix_types_32.h
posix_types_64.h
prctl.h
processor-cyrix.h
processor-flags.h
processor.h
processor_32.h x86: debugctlmsr context switch 2008-01-30 13:30:54 +01:00
processor_64.h x86: debugctlmsr context switch 2008-01-30 13:30:54 +01:00
proto.h x86: remove obsolte declarations from proto.h 2008-01-30 13:30:19 +01:00
ptrace-abi.h x86: PTRACE_SINGLEBLOCK 2008-01-30 13:30:55 +01:00
ptrace.h x86: debugctlmsr arch_has_block_step 2008-01-30 13:30:54 +01:00
reboot.h
reboot_fixups.h
required-features.h x86: merge required-features.h 2007-10-23 22:37:24 +02:00
resource.h
resume-trace.h x86: merge resume-trace.h variants 2008-01-30 13:30:38 +01:00
rio.h x86: remove more bogus filenames in comments. 2008-01-30 13:30:28 +01:00
rtc.h
rwlock.h x86: use immediates instead of RW_LOCK_BIAS_STR 2008-01-30 13:30:34 +01:00
rwsem.h x86: remove more bogus filenames in comments. 2008-01-30 13:30:28 +01:00
scatterlist.h x86: merge include/asm-x86/scatterlist.h 2008-01-30 13:30:21 +01:00
seccomp.h
seccomp_32.h
seccomp_64.h
sections.h
segment.h
segment_32.h
segment_64.h x86: segment selector macros 2008-01-30 13:30:48 +01:00
semaphore.h
semaphore_32.h
semaphore_64.h
sembuf.h
serial.h
setup.h x86: clean up setup.h and the boot code 2007-10-23 22:37:25 +02:00
shmbuf.h x86: merge shmbuf_32/64.h 2007-10-23 22:37:24 +02:00
shmparam.h
sigcontext.h x86: merge sigcontext_32/64.h 2007-10-23 22:37:24 +02:00
sigcontext32.h
siginfo.h
signal.h x86 single_step: TIF_FORCED_TF 2008-01-30 13:30:50 +01:00
smp.h
smp_32.h x86: cleanup smp.h variants 2008-01-30 13:30:36 +01:00
smp_64.h x86: cleanup smp.h variants 2008-01-30 13:30:36 +01:00
socket.h
sockios.h
sparsemem.h x86: merge include/asm-x86/sparsemem.h 2008-01-30 13:30:37 +01:00
spinlock.h x86: merge spinlock.h variants 2008-01-30 13:30:34 +01:00
spinlock_types.h
srat.h
stacktrace.h
stat.h x86: merge stat_32/64.h 2007-10-23 22:37:24 +02:00
statfs.h x86: merge statfs_32/64.h 2007-10-23 22:37:24 +02:00
string.h
string_32.h
string_64.h
suspend.h
suspend_32.h
suspend_64.h x86: hibernation: document __save_processor_state() on x86 2008-01-30 13:30:04 +01:00
swiotlb.h
sync_bitops.h
system.h
system_32.h x86: move debug related declarations to kdebug.h 2008-01-30 13:30:17 +01:00
system_64.h x86: also define AT_VECTOR_SIZE_ARCH 2007-12-18 18:05:58 +01:00
tce.h
termbits.h
termios.h
therm_throt.h
thread_info.h
thread_info_32.h x86: debugctlmsr context switch 2008-01-30 13:30:54 +01:00
thread_info_64.h x86: debugctlmsr context switch 2008-01-30 13:30:54 +01:00
time.h x86: isolate the rtc code for sharing 2008-01-30 13:30:26 +01:00
timer.h x86: scale cyc_2_nsec according to CPU frequency 2008-01-30 13:30:06 +01:00
timex.h
tlb.h
tlbflush.h x86: merge tlbflush.h variants 2008-01-30 13:30:35 +01:00
topology.h x86: merge topology.h variants 2008-01-30 13:30:38 +01:00
tsc.h x86: move tsc related declarations 2008-01-30 13:30:18 +01:00
types.h
uaccess.h
uaccess_32.h
uaccess_64.h
ucontext.h
unaligned.h
unistd.h
unistd_32.h
unistd_64.h
unwind.h
user.h
user32.h
user_32.h
user_64.h
vdso.h x86 vDSO: i386 vdso32 2008-01-30 13:30:42 +01:00
vga.h
vgtod.h
vic.h
vm86.h
vmi.h
vmi_time.h
voyager.h
vsyscall.h
xor.h
xor_32.h x86: remove more bogus filenames in comments. 2008-01-30 13:30:28 +01:00
xor_64.h x86: remove more bogus filenames in comments. 2008-01-30 13:30:28 +01:00