From 6c2940ceacf5bfb32e805f605a92faa8da2e4126 Mon Sep 17 00:00:00 2001 From: ketank-new Date: Thu, 20 Oct 2016 18:13:37 +0530 Subject: [PATCH] Update ppm.h Added support for s390x --- driver/ppm.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/driver/ppm.h b/driver/ppm.h index ba446adc60..a66b5d6c4b 100644 --- a/driver/ppm.h +++ b/driver/ppm.h @@ -122,6 +122,10 @@ long ppm_strncpy_from_user(char *to, const char __user *from, unsigned long n); #define SYSCALL_TABLE_ID0 0 #elif defined CONFIG_PPC64 #define SYSCALL_TABLE_ID0 0 +#elif defined CONFIG_S390 + #define __NR_SYSCALL_BASE 0 + #define SYSCALL_TABLE_ID0 __NR_SYSCALL_BASE + #define __NR_time (__NR_SYSCALL_BASE + 13) #endif #define SYSCALL_TABLE_SIZE 512