1
linux/arch/s390/include/asm
Geert Uytterhoeven cbe05685c1 s390: Always use "long" for ssize_t to match size_t
On s390x-linux-gcc, __SIZE_TYPE__ expands to "long unsigned int" for both
32-bit s390 and 64-bit s390x, as
gcc-4.6.3-nolibc/s390x-linux/lib/gcc/s390x-linux/4.6.3/plugin/include/config/s390/linux.h
has

    #define SIZE_TYPE (TARGET_64BIT ? "long unsigned int" : "long unsigned int")

To match this, __kernel_size_t is always set to "long unsigned int".

But while __kernel_ssize_t is "long" on 64-bit s390x, it is "int" on 32-bit
s390, causing compiler warnings like:

    fs/quota/quota_tree.c:372:4: warning: format '%zd' expects argument of type 'signed size_t', but argument 4 has type 'ssize_t' [-Wformat]

To fix this, __kernel_ssize_t should be "long", irrespective of word size.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2012-08-21 15:23:04 +02:00
..
airq.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
appldata.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
asm-offsets.h
atomic.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
auxvec.h
barrier.h s390/barrier: make use of fast-bcr facility 2012-05-16 14:42:45 +02:00
bitops.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
bitsperlong.h
bug.h
bugs.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
byteorder.h
cache.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
cacheflush.h
ccwdev.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
ccwgroup.h s390/ccwgroup: remove unused ccwgroup_device member 2012-06-05 13:23:37 +02:00
checksum.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
chpid.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
chsc.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
cio.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
cmb.h
cmpxchg.h s390/cmpxchg: fix sign extension bugs 2012-05-30 09:07:58 +02:00
compat.h compat: fix compile breakage on s390 2012-02-27 07:54:27 -08:00
cpcmd.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
cpu_mf.h [S390] Fix build errors (fallout from system.h disintegration) 2012-03-30 09:41:12 +02:00
cpu.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
cputime.h s390/vtimer: rework virtual timer interface 2012-07-20 11:15:08 +02:00
crw.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
ctl_reg.h s390/headers: replace __s390x__ with CONFIG_64BIT where possible 2012-05-24 10:10:10 +02:00
current.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
dasd.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
debug.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
delay.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
device.h
diag.h
div64.h
dma.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
ebcdic.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
elf.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
emergency-restart.h
errno.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
etr.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
exec.h Disintegrate asm/system.h for S390 2012-03-28 18:30:02 +01:00
extmem.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
facility.h [S390] Fix stfle() lowcore protection problem 2012-04-11 14:28:26 +02:00
fb.h
fcntl.h
fcx.h
ftrace.h
futex.h s390/headers: remove #ifdef __KERNEL__ from not exported headers 2012-05-24 10:10:05 +02:00
hardirq.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
hugetlb.h
idals.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
io.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
ioctl.h
ioctls.h
ipcbuf.h
ipl.h [S390] kernel: Add z/VM LGR detection 2012-03-11 11:59:29 -04:00
irq_regs.h
irq.h s390/irq: split irq stats for cpu-measurement alert facilities 2012-05-23 17:06:52 +02:00
irqflags.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
isc.h
itcw.h
jump_label.h static keys: Introduce 'struct static_key', static_key_true()/false() and static_key_slow_[inc|dec]() 2012-02-24 10:05:59 +01:00
Kbuild
kdebug.h
kexec.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
kmap_types.h s390/headers: remove #ifdef __KERNEL__ from not exported headers 2012-05-24 10:10:05 +02:00
kprobes.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
kvm_host.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
kvm_para.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
kvm_virtio.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
kvm.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
linkage.h
local64.h
local.h
lowcore.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
mathemu.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
mman.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
mmu_context.h s390/mm: rename user_mode variable to addressing_mode 2012-07-30 11:03:11 +02:00
mmu.h [S390] Fix build errors (fallout from system.h disintegration) 2012-03-30 09:41:12 +02:00
module.h s390/headers: replace __s390x__ with CONFIG_64BIT where possible 2012-05-24 10:10:10 +02:00
monwriter.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
msgbuf.h
mutex.h
nmi.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
os_info.h s390/kernel: Remove OS info init function call and diag 308 for kdump 2012-05-23 17:06:50 +02:00
page.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
param.h
pci.h
percpu.h s390/headers: replace __s390x__ with CONFIG_64BIT where possible 2012-05-24 10:10:10 +02:00
perf_event.h [S390] perf: add support for s390x CPU counters 2012-03-23 11:13:25 +01:00
pgalloc.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
pgtable.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
poll.h
posix_types.h s390: Always use "long" for ssize_t to match size_t 2012-08-21 15:23:04 +02:00
processor.h s390/mm: downgrade page table after fork of a 31 bit process 2012-07-26 16:24:14 +02:00
ptrace.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
qdio.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
qeth.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
reset.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
resource.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
rwsem.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
scatterlist.h
schid.h
sclp.h KVM updates for the 3.6 merge window 2012-07-24 12:01:20 -07:00
scsw.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
seccomp.h
sections.h
segment.h
sembuf.h
setup.h s390/mm: rename user_mode variable to addressing_mode 2012-07-30 11:03:11 +02:00
sfp-machine.h
sfp-util.h s390/headers: replace __s390x__ with CONFIG_64BIT where possible 2012-05-24 10:10:10 +02:00
shmbuf.h
shmparam.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
sigcontext.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
siginfo.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
signal.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
sigp.h KVM: s390: Fix sigp sense handling. 2012-07-03 14:55:37 -03:00
smp.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
socket.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
sockios.h
sparsemem.h s390/mm: remove MAX_PHYSADDR_BITS define 2012-08-08 07:32:55 -07:00
spinlock_types.h
spinlock.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
stat.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
statfs.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
string.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
swab.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
switch_to.h Disintegrate asm/system.h for S390 2012-03-28 18:30:02 +01:00
syscall.h s390/seccomp: add support for system call filtering using BPF 2012-08-08 07:32:56 -07:00
sysinfo.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
tape390.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
termbits.h
termios.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
thread_info.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
timex.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
tlb.h s390/headers: replace __s390x__ with CONFIG_64BIT where possible 2012-05-24 10:10:10 +02:00
tlbflush.h s390/headers: replace __s390x__ with CONFIG_64BIT where possible 2012-05-24 10:10:10 +02:00
topology.h
types.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
uaccess.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
ucontext.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
unaligned.h
unistd.h ipc: use Kconfig options for __ARCH_WANT_[COMPAT_]IPC_PARSE_VERSION 2012-07-30 17:25:21 -07:00
user.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
vdso.h s390/headers: remove #ifdef __KERNEL__ from not exported headers 2012-05-24 10:10:05 +02:00
vtimer.h s390/vtimer: rework virtual timer interface 2012-07-20 11:15:08 +02:00
vtoc.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
xor.h
zcrypt.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00