From patchwork Wed Mar 30 16:35:01 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Programmingkid X-Patchwork-Id: 8700461 Return-Path: X-Original-To: patchwork-qemu-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D368B9F44D for ; Wed, 30 Mar 2016 16:35:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D51462038A for ; Wed, 30 Mar 2016 16:35:16 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6B56020225 for ; Wed, 30 Mar 2016 16:35:15 +0000 (UTC) Received: from localhost ([::1]:55751 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alJ5O-0007rN-SW for patchwork-qemu-devel@patchwork.kernel.org; Wed, 30 Mar 2016 12:35:14 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33115) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alJ5H-0007qN-Ft for qemu-devel@nongnu.org; Wed, 30 Mar 2016 12:35:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1alJ5E-0001vY-Ay for qemu-devel@nongnu.org; Wed, 30 Mar 2016 12:35:07 -0400 Received: from mail-io0-x242.google.com ([2607:f8b0:4001:c06::242]:34877) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alJ5E-0001vD-6E for qemu-devel@nongnu.org; Wed, 30 Mar 2016 12:35:04 -0400 Received: by mail-io0-x242.google.com with SMTP id q128so9321429iof.2 for ; Wed, 30 Mar 2016 09:35:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-transfer-encoding:subject:date:message-id:cc:to :mime-version; bh=0BnaimSO4tdQu9Z5tQyNRn9v3IDozec3RCTpy6CBdx0=; b=yAWdottQ+cHT5ycZUXCiNqYLLyMavMNL0Ua3Vm7J5Gi/5zrfvMJHlA0jrOUR5kvMdh TYtRTv/UrIuOVcP/D5uLGMxAW7vt17WcbkiE2RgQygLIm7nkmUsVvcfSAkQmcYhjfRMW kSWMBZcutoKhTRYHLluinJlsePCkwY/qcTe3D46AJftjLfmQh7DCtYNxE3KdvtW/5qZt ruZm7JQMad92gtzpiiu3X5zOqaYvdp/56mFNmmeqNCqsBJH1VI9O2NWJP+QsNo0M+4DA h/0U9zNylD0+kGXR4+LNj5rTSMOentrb0rFpMHEQWa73ATHJtmFrvLGlJ6YaQ0h5E8yj q/hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-transfer-encoding:subject:date :message-id:cc:to:mime-version; bh=0BnaimSO4tdQu9Z5tQyNRn9v3IDozec3RCTpy6CBdx0=; b=OpGyvqBRj+ovjdIehyso0sshMtSJYYet8l6jzhnHx2fi6QyLIZ2VlSkVncF6zVAl33 tN3wZSizHNQ/7a1avDsN6jxRpSca+ioVMZ5AbRrHzINKWC/hCzECRhEGFY5InaH4F98n g92LVSElHVWb0VXWmMKkMxw/cXLIYqDW8H7iBtLxxHejTBpAJLev7Gz9M6J82lFOSyPK 6r0EmEERtXI2lcvX/rq6znmmOiDNJ2EVhSATWnmZEyQbDCTqpbUEsHqJXah1VtciWDp3 Luk+CXqnwkT8yCI4du4AIBtv0cPZ3htrA61iCgF8gQzdnoAt5YaB33iQrfD1wpbKtyWX duyw== X-Gm-Message-State: AD7BkJI33jgD9Kaw3deuVoDStIwEmzo6r+cqWeQN4pdSvVpRpimlJWzPj33YjO4KYIRNLg== X-Received: by 10.107.25.68 with SMTP id 65mr11694620ioz.98.1459355703681; Wed, 30 Mar 2016 09:35:03 -0700 (PDT) Received: from [192.168.0.5] (d199-74-164-53.col.wideopenwest.com. [74.199.53.164]) by smtp.gmail.com with ESMTPSA id b142sm2092457ioe.27.2016.03.30.09.35.02 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 30 Mar 2016 09:35:02 -0700 (PDT) From: Programmingkid Date: Wed, 30 Mar 2016 12:35:01 -0400 Message-Id: To: qemu-devel qemu-devel Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4001:c06::242 Cc: Paolo Bonzini , Peter Maydell Subject: [Qemu-devel] [PATCH] fix missing event_notifier_init_fd() function on Mac OS X X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Remove macro that prevents event_notifier_init_fd() function from being compiled on Mac OS X. This patch fixes this error: Undefined symbols for architecture x86_64: "_event_notifier_init_fd", referenced from: _process_msg in ivshmem.o ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status make[1]: *** [qemu-system-ppc] Error 1 make: *** [subdir-ppc-softmmu] Error 2 Signed-off-by: John Arbuckle --- util/event_notifier-posix.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/util/event_notifier-posix.c b/util/event_notifier-posix.c index e150301..11cef87 100644 --- a/util/event_notifier-posix.c +++ b/util/event_notifier-posix.c @@ -21,7 +21,6 @@ #include #endif -#ifdef CONFIG_EVENTFD /* * Initialize @e with existing file descriptor @fd. * @fd must be a genuine eventfd object, emulation with pipe won't do. @@ -31,7 +30,6 @@ void event_notifier_init_fd(EventNotifier *e, int fd) e->rfd = fd; e->wfd = fd; } -#endif int event_notifier_init(EventNotifier *e, int active) {