linux_dsm_epyc7002/arch/parisc/include/asm
Mel Gorman bba3d8c3b3 [PARISC] Redefine ATOMIC_INIT and ATOMIC64_INIT to drop the casts
The following build error occured during a parisc build with
swap-over-NFS patches applied.

net/core/sock.c:274:36: error: initializer element is not constant
net/core/sock.c:274:36: error: (near initialization for 'memalloc_socks')
net/core/sock.c:274:36: error: initializer element is not constant

Dave Anglin says:
> Here is the line in sock.i:
>
> struct static_key memalloc_socks = ((struct static_key) { .enabled =
> ((atomic_t) { (0) }) });

The above line contains two compound literals.  It also uses a designated
initializer to initialize the field enabled.  A compound literal is not a
constant expression.

The location of the above statement isn't fully clear, but if a compound
literal occurs outside the body of a function, the initializer list must
consist of constant expressions.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Mel Gorman <mgorman@suse.de>
Cc: <stable@vger.kernel.org>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2012-07-25 09:08:46 +04:00
..
agp.h
asm-offsets.h
asmregs.h
assembly.h
atomic.h [PARISC] Redefine ATOMIC_INIT and ATOMIC64_INIT to drop the casts 2012-07-25 09:08:46 +04:00
auxvec.h
barrier.h Disintegrate asm/system.h for PA-RISC 2012-03-28 18:30:02 +01:00
bitops.h
bitsperlong.h
bug.h [PARISC] fix missing TAINT_WARN problem 2012-06-05 14:10:17 +09:00
bugs.h
byteorder.h
cache.h
cacheflush.h
checksum.h
cmpxchg.h parisc: fix missing cmpxchg file error from system.h split 2012-04-02 14:41:26 -07:00
compat_rt_sigframe.h treewide: Put a space between #include and FILE 2012-06-28 11:44:36 +02:00
compat_signal.h
compat_ucontext.h
compat.h
cputime.h
current.h
delay.h Disintegrate asm/system.h for PA-RISC 2012-03-28 18:30:02 +01:00
device.h
div64.h
dma-mapping.h
dma.h Disintegrate asm/system.h for PA-RISC 2012-03-28 18:30:02 +01:00
eisa_bus.h
eisa_eeprom.h
elf.h
emergency-restart.h
errno.h
exec.h Disintegrate asm/system.h for PA-RISC 2012-03-28 18:30:02 +01:00
fb.h
fcntl.h
fixmap.h
floppy.h
ftrace.h
futex.h
grfioctl.h
hardirq.h
hardware.h parisc: drop include of asm/pdc.h from asm/hardware.h 2012-05-10 15:12:08 -07:00
hw_irq.h
ide.h
io.h
ioctl.h
ioctls.h
ipcbuf.h
irq_regs.h
irq.h
irqflags.h
kbdleds.h keyboard: Use BIOS Keyboard variable to set Numlock 2012-05-08 14:19:41 -07:00
Kbuild [PARISC] fix compile break in use of lib/strncopy_from_user.c 2012-06-05 14:10:22 +09:00
kdebug.h
kmap_types.h
kvm_para.h kvmclock: Add functions to check if the host has stopped the vm 2012-04-08 12:48:59 +03:00
ldcw.h Disintegrate asm/system.h for PA-RISC 2012-03-28 18:30:02 +01:00
led.h
linkage.h
local64.h
local.h
machdep.h
mc146818rtc.h
mckinley.h
mman.h coredump: add VM_NODUMP, MADV_NODUMP, MADV_CLEAR_NODUMP 2012-03-23 16:58:42 -07:00
mmu_context.h
mmu.h
mmzone.h
module.h
msgbuf.h
mutex.h
page.h parisc: move definition of PAGE0 to asm/page.h 2012-05-10 15:12:08 -07:00
param.h
parisc-device.h
parport.h
pci.h
pdc_chassis.h
pdc.h parisc: move definition of PAGE0 to asm/page.h 2012-05-10 15:12:08 -07:00
pdcpat.h
percpu.h
perf_event.h
perf.h
pgalloc.h
pgtable.h parisc: add missing include of asm/page.h to asm/pgtable.h 2012-05-10 15:12:08 -07:00
poll.h
posix_types.h bury __kernel_nlink_t, make internal nlink_t consistent 2012-05-30 21:04:50 -04:00
prefetch.h [PARISC] fix panic on prefetch(NULL) on PA7300LC 2012-05-16 13:15:21 +01:00
processor.h fork: move the real prepare_to_copy() users to arch_dup_task_struct() 2012-05-16 15:16:26 -07:00
psw.h Disintegrate asm/system.h for PA-RISC 2012-03-28 18:30:02 +01:00
ptrace.h
real.h
resource.h
ropes.h
rt_sigframe.h
rtc.h
runway.h
scatterlist.h
sections.h
segment.h
sembuf.h
serial.h
setup.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
smp.h [PARISC] Fix parisc compile failure after smp: Add task_struct argument to __cpu_up() 2012-05-25 12:35:45 +01:00
socket.h
sockios.h
special_insns.h Disintegrate asm/system.h for PA-RISC 2012-03-28 18:30:02 +01:00
spinlock_types.h
spinlock.h parisc: add missing includes in asm/spinlock.h 2012-05-10 15:12:08 -07:00
stat.h parisc: get rid of nlink_t, switch to explicitly-sized type 2012-05-30 21:04:50 -04:00
statfs.h
string.h
superio.h
swab.h
switch_to.h Disintegrate asm/system.h for PA-RISC 2012-03-28 18:30:02 +01:00
syscall.h
termbits.h
termios.h
thread_info.h TIF_RESTORE_SIGMASK can be set only when TIF_SIGPENDING is set 2012-06-01 12:58:50 -04:00
timex.h Disintegrate asm/system.h for PA-RISC 2012-03-28 18:30:02 +01:00
tlb.h
tlbflush.h
topology.h
traps.h
types.h
uaccess.h [PARISC] update parisc to use generic strncpy_from_user() 2012-05-31 11:14:37 +01:00
ucontext.h
unaligned.h
unistd.h
unwind.h
user.h
vga.h
xor.h