[-next] "y2038: s390: remove unneeded ipc uapi header files" causes build failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Arnd,

your patch "y2038: s390: remove unneeded ipc uapi header files" causes
"make headers_install" to fail on s390:

scripts/Makefile.headersinst:63: *** Some mandatory headers (msgbuf.h sembuf.h shmbuf.h) are missing in arch/s390/include/uapi/asm.  Stop.

Apparently you added the three new "generic-y" entries to
the wrong Kbuild file:

arch/s390/include/asm/Kbuild

instead of

arch/s390/include/uapi/asm/Kbuild.

Please apply/merge the patch below. Thanks!

>From af86fe65674fcc2515720981c8542a4b94d14ea5 Mon Sep 17 00:00:00 2001
From: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
Date: Thu, 19 Apr 2018 09:25:32 +0200
Subject: [PATCH] s390: msgbuf.h, sembuf.h, and shmbuf.h are uapi

Fix failing "make headers_install":

scripts/Makefile.headersinst:63: *** Some mandatory headers (msgbuf.h sembuf.h shmbuf.h) are missing in arch/s390/include/uapi/asm.  Stop.

Signed-off-by: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
---
 arch/s390/include/asm/Kbuild      | 3 ---
 arch/s390/include/uapi/asm/Kbuild | 3 +++
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/s390/include/asm/Kbuild b/arch/s390/include/asm/Kbuild
index d8ca80f081a7..e3239772887a 100644
--- a/arch/s390/include/asm/Kbuild
+++ b/arch/s390/include/asm/Kbuild
@@ -20,11 +20,8 @@ generic-y += local.h
 generic-y += local64.h
 generic-y += mcs_spinlock.h
 generic-y += mm-arch-hooks.h
-generic-y += msgbuf.h
 generic-y += preempt.h
 generic-y += rwsem.h
-generic-y += sembuf.h
-generic-y += shmbuf.h
 generic-y += trace_clock.h
 generic-y += unaligned.h
 generic-y += word-at-a-time.h
diff --git a/arch/s390/include/uapi/asm/Kbuild b/arch/s390/include/uapi/asm/Kbuild
index faef3f7e8353..e364873e0d10 100644
--- a/arch/s390/include/uapi/asm/Kbuild
+++ b/arch/s390/include/uapi/asm/Kbuild
@@ -9,9 +9,12 @@ generic-y += errno.h
 generic-y += fcntl.h
 generic-y += ioctl.h
 generic-y += mman.h
+generic-y += msgbuf.h
 generic-y += param.h
 generic-y += poll.h
 generic-y += resource.h
+generic-y += sembuf.h
+generic-y += shmbuf.h
 generic-y += sockios.h
 generic-y += swab.h
 generic-y += termbits.h
-- 
2.13.5

--
To unsubscribe from this list: send the line "unsubscribe linux-next" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux