From patchwork Fri Apr 15 19:43:45 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Prasad Joshi X-Patchwork-Id: 711361 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p3FJhdcW025479 for ; Fri, 15 Apr 2011 19:43:39 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750769Ab1DOTng (ORCPT ); Fri, 15 Apr 2011 15:43:36 -0400 Received: from mail-wy0-f174.google.com ([74.125.82.174]:37667 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750707Ab1DOTnf (ORCPT ); Fri, 15 Apr 2011 15:43:35 -0400 Received: by wya21 with SMTP id 21so2520535wya.19 for ; Fri, 15 Apr 2011 12:43:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer; bh=qqYyrnRMxUfx20T+4HFORE63q3dO8OdSMsA40xNsGf8=; b=lRyOvju2wPkwha7fd9fAwbaMIylRQPVMlD4FOCsoGvPcaS3AbYCr+4z6LjY38qcbyi yZZzZvZbQYAAXihTFbaH2kFUa6G4VMJMNwu75cwqAceJ0sdq5N/hOjU1LCHdp/KItEJF KwkoVagTDg8sM8/LKMza50L87qO4CIUPpxhjA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=oOj/Nqmq4lvkmC5dz4Y5DG0nFiiamnN6DMiP+CBudHr1/g705n6X7V3WOc/+TRUpE8 rh4LaIUycbt1z4Ej21y4MEGxlUUaDATsPoqFnmoBoXTpZ7sdSQr8LxHhUmNxEbH56f4Y C2se8ni0KP3fVK5qzR2ge+oYy64unDxk7pIcw= Received: by 10.216.158.21 with SMTP id p21mr7817071wek.99.1302896614522; Fri, 15 Apr 2011 12:43:34 -0700 (PDT) Received: from prasad-kvm.localdomain (pineapple.rdg.ac.uk [134.225.206.123]) by mx.google.com with ESMTPS id z50sm1468492weq.23.2011.04.15.12.43.33 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 15 Apr 2011 12:43:34 -0700 (PDT) Received: by prasad-kvm.localdomain (Postfix, from userid 1000) id E1D9E26E006E; Fri, 15 Apr 2011 20:43:45 +0100 (BST) From: Prasad Joshi To: prasadjoshi124@gmail.com Cc: mingo@elte.hu, kvm@vger.kernel.org, penberg@kernel.org, asias.hejun@gmail.com, gorcunov@gmail.com, levinsasha928@gmail.com, chaitanyakulkarni15@gmail.com Subject: [PATCH] kvm tool: Remove the __stringify* defination from the util.h Date: Fri, 15 Apr 2011 20:43:45 +0100 Message-Id: <1302896625-11041-1-git-send-email-prasadjoshi124@gmail.com> X-Mailer: git-send-email 1.7.1 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 15 Apr 2011 19:43:39 +0000 (UTC) Include the Linux kernel header file linux/stringify.h file instead of redefining the __stringify* macros Signed-off-by: Prasad Joshi --- tools/kvm/include/kvm/util.h | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/kvm/include/kvm/util.h b/tools/kvm/include/kvm/util.h index ae033cc..c308f3f 100644 --- a/tools/kvm/include/kvm/util.h +++ b/tools/kvm/include/kvm/util.h @@ -1,3 +1,5 @@ +#include "../../../../include/linux/stringify.h" + #ifndef KVM__UTIL_H #define KVM__UTIL_H @@ -27,9 +29,6 @@ #endif #endif -#define __stringify_1(x) #x -#define __stringify(x) __stringify_1(x) - extern void die(const char *err, ...) NORETURN __attribute__((format (printf, 1, 2))); extern void die_perror(const char *s) NORETURN; extern int error(const char *err, ...) __attribute__((format (printf, 1, 2)));