kernel-ark/include/asm-alpha
Andrew Morton 06f11f37aa alpha: get_current(): don't add zero to current_thread_info()->task
A nasty compile error:

In file included from security/keys/internal.h:16,
                 from security/keys/sysctl.c:14:
include/linux/key-ui.h: In function 'key_permission':
include/linux/key-ui.h:51: error: invalid use of undefined type 'struct task_struct'

apparently the compiler has decided that it needs to know sizeof(task_struct)
so that it can add zero to a task_struct* (which is rather dumb of it).

Getting task_struct in scope in these deeply-nested headers is scary-looking,
so let's just remove the "+ 0".

Cc: David Howells <dhowells@redhat.com>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-04-02 15:28:20 -07:00
..
8253pit.h
a.out-core.h aout: suppress A.OUT library support if !CONFIG_ARCH_SUPPORTS_AOUT 2008-02-08 09:22:30 -08:00
a.out.h aout: move STACK_TOP[_MAX] to asm/processor.h 2008-02-08 09:22:29 -08:00
agp_backend.h
agp.h x86: remove flush_agp_mappings() 2008-01-30 13:34:07 +01:00
atomic.h alpha: atomic_add_return() should return int 2008-02-05 09:44:21 -08:00
auxvec.h
barrier.h
bitops.h forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
bug.h
bugs.h
byteorder.h
cache.h
cacheflush.h
checksum.h
compiler.h
console.h
core_apecs.h
core_cia.h
core_irongate.h
core_lca.h
core_marvel.h
core_mcpcia.h
core_polaris.h
core_t2.h
core_titan.h
core_tsunami.h
core_wildfire.h
cputime.h
current.h alpha: get_current(): don't add zero to current_thread_info()->task 2008-04-02 15:28:20 -07:00
delay.h
device.h
div64.h
dma-mapping.h alpha: fix ALSA DMA mmap crash 2008-04-02 15:28:19 -07:00
dma.h
elf.h Cleanup asm/{elf,page,user}.h: #ifdef __KERNEL__ is no longer needed 2008-02-07 08:42:30 -08:00
emergency-restart.h
err_common.h
err_ev6.h
err_ev7.h
errno.h
fb.h
fcntl.h Fix Alpha O_CLOEXEC definition 2007-08-09 08:39:22 -07:00
floppy.h cleanup floppy.h 2007-10-17 08:42:55 -07:00
fpu.h
futex.h
gct.h
gentrap.h
hardirq.h
hw_irq.h
hwrpb.h
ide.h ide: add CONFIG_IDE_ARCH_OBSOLETE_INIT 2007-10-20 00:32:32 +02:00
io_trivial.h alpha: build fixes 2007-12-17 19:28:16 -08:00
io.h Remove dma_cache_(wback|inv|wback_inv) functions 2007-10-17 08:42:57 -07:00
ioctl.h
ioctls.h
ipcbuf.h
irq_regs.h
irq.h
jensen.h
Kbuild
kdebug.h
kmap_types.h
kvm.h kvm: provide kvm.h for all architecture: fixes headers_install 2008-04-02 15:28:18 -07:00
linkage.h
local.h
machvec.h
mc146818rtc.h
md.h
mman.h
mmu_context.h
mmu.h
mmzone.h
module.h
msgbuf.h
mutex.h
namei.h
page.h CONFIG_HIGHPTE vs. sub-page page tables. 2008-02-08 09:22:42 -08:00
pal.h
param.h avoid overflows in kernel/time.c 2008-02-08 09:22:39 -08:00
parport.h
pci.h alpha: fix ALSA DMA mmap crash 2008-04-02 15:28:19 -07:00
percpu.h
pgalloc.h CONFIG_HIGHPTE vs. sub-page page tables. 2008-02-08 09:22:42 -08:00
pgtable.h
poll.h
posix_types.h
processor.h aout: move STACK_TOP[_MAX] to asm/processor.h 2008-02-08 09:22:29 -08:00
ptrace.h alpha: convert to generic sys_ptrace 2007-10-16 09:43:03 -07:00
reg.h
regdef.h
resource.h
rtc.h
rwsem.h
scatterlist.h Add CONFIG_DEBUG_SG sg validation 2007-10-22 21:20:03 +02:00
sections.h
segment.h
semaphore.h kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
sembuf.h
serial.h
setup.h
sfp-machine.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
smp.h
socket.h [NET]: Introducing socket mark socket option. 2008-01-31 19:27:19 -08:00
sockios.h
spinlock_types.h
spinlock.h
stat.h
statfs.h
string.h
suspend.h
sysinfo.h
system.h Add cmpxchg64 and cmpxchg64_local to alpha 2008-02-07 08:42:30 -08:00
termbits.h
termios.h
thread_info.h remove unused TIF_NOTIFY_RESUME flag 2007-07-31 15:39:38 -07:00
timex.h
tlb.h add mm argument to pte/pmd/pud/pgd_free 2008-02-05 09:44:18 -08:00
tlbflush.h alpha: fix warning by fixing flush_tlb_kernel_range() 2008-02-05 09:44:22 -08:00
topology.h
types.h
uaccess.h
ucontext.h
unaligned.h
unistd.h Alpha doesn't use socketcall 2008-02-05 09:44:21 -08:00
user.h Sanitize the type of struct user.u_ar0 2008-02-07 08:42:30 -08:00
vga.h
xor.h