+ ipc-use-__arch_want_ipc_parse_version-in-ipc-utilh.patch added to -mm tree

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

 



The patch titled
     ipc: use __ARCH_WANT_IPC_PARSE_VERSION in ipc/util.h
has been added to the -mm tree.  Its filename is
     ipc-use-__arch_want_ipc_parse_version-in-ipc-utilh.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: ipc: use __ARCH_WANT_IPC_PARSE_VERSION in ipc/util.h
From: Arnd Bergmann <arnd@xxxxxxxx>

The definition of ipc_parse_version depends on
__ARCH_WANT_IPC_PARSE_VERSION, but the header file declares it
conditionally based on the architecture.

Use the macro consistently to make it easier to add new architectures.

Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 ipc/util.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN ipc/util.h~ipc-use-__arch_want_ipc_parse_version-in-ipc-utilh ipc/util.h
--- a/ipc/util.h~ipc-use-__arch_want_ipc_parse_version-in-ipc-utilh
+++ a/ipc/util.h
@@ -128,7 +128,7 @@ void ipc_update_perm(struct ipc64_perm *
 struct kern_ipc_perm *ipcctl_pre_down(struct ipc_ids *ids, int id, int cmd,
 				      struct ipc64_perm *perm, int extra_perm);
 
-#if defined(__ia64__) || defined(__x86_64__) || defined(__hppa__) || defined(__XTENSA__)
+#ifndef __ARCH_WANT_IPC_PARSE_VERSION
   /* On IA-64, we always use the "64-bit version" of the IPC structures.  */ 
 # define ipc_parse_version(cmd)	IPC_64
 #else
_

Patches currently in -mm which might be from arnd@xxxxxxxx are

linux-next.patch
time-move-pit_tick_rate-to-linux-timexh.patch
mb862xxfb-use-config_of-instead-of-config_ppc_of.patch
ipc-use-__arch_want_ipc_parse_version-in-ipc-utilh.patch

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

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux