Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/142535/?format=api
{ "id": 142535, "url": "http://patchwork.ozlabs.org/api/patches/142535/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1329946797-530-1-git-send-email-linz@li-pro.net/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api", "name": "U-Boot", "link_name": "uboot", "list_id": "u-boot.lists.denx.de", "list_email": "u-boot@lists.denx.de", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<1329946797-530-1-git-send-email-linz@li-pro.net>", "list_archive_url": null, "date": "2012-02-22T21:39:57", "name": "[U-Boot] microblaze: fix build failure due to undefined reference to `get_ticks'", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "551e4b3e2fe49201382667f05d4037e54bed0100", "submitter": { "id": 5893, "url": "http://patchwork.ozlabs.org/api/people/5893/?format=api", "name": "Stephan Linz", "email": "linz@li-pro.net" }, "delegate": { "id": 1692, "url": "http://patchwork.ozlabs.org/api/users/1692/?format=api", "username": "monstr", "first_name": "Michal", "last_name": "Simek", "email": "monstr@monstr.eu" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1329946797-530-1-git-send-email-linz@li-pro.net/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/142535/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/142535/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<u-boot-bounces@lists.denx.de>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org", "Received": [ "from theia.denx.de (theia.denx.de [85.214.87.163])\n\tby ozlabs.org (Postfix) with ESMTP id 5C47BB6FA4\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 23 Feb 2012 08:40:13 +1100 (EST)", "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id F1EB528080;\n\tWed, 22 Feb 2012 22:40:08 +0100 (CET)", "from theia.denx.de ([127.0.0.1])\n\tby localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id M6BkNbvJTeq2; Wed, 22 Feb 2012 22:40:08 +0100 (CET)", "from theia.denx.de (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 66DCC28078;\n\tWed, 22 Feb 2012 22:40:06 +0100 (CET)", "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 03D0828078\n\tfor <u-boot@lists.denx.de>; Wed, 22 Feb 2012 22:40:04 +0100 (CET)", "from theia.denx.de ([127.0.0.1])\n\tby localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id XhOOY+B7WFR7 for <u-boot@lists.denx.de>;\n\tWed, 22 Feb 2012 22:40:03 +0100 (CET)", "from mo-p00-ob.rzone.de (mo-p00-ob.rzone.de [81.169.146.162])\n\tby theia.denx.de (Postfix) with ESMTPS id 2EA1428077\n\tfor <u-boot@lists.denx.de>; Wed, 22 Feb 2012 22:40:01 +0100 (CET)", "from localhost.localdomain (i588283CA.versanet.de [88.130.131.202])\n\tby smtp.strato.de (jimi mo42) (RZmta 27.7 DYNA|AUTH)\n\twith ESMTPA id J02071o1MJuCyR ; Wed, 22 Feb 2012 22:39:58 +0100 (MET)" ], "X-Virus-Scanned": [ "Debian amavisd-new at theia.denx.de", "Debian amavisd-new at theia.denx.de" ], "X-policyd-weight": "NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5\n\tNOT_IN_BL_NJABL=-1.5 (only DNSBL check requested)", "DKIM-Signature": "v=1; a=rsa-sha1; c=relaxed/relaxed; t=1329946800; l=1295;\n\ts=domk; d=li-pro.net;\n\th=Date:Subject:Cc:To:From:X-RZG-CLASS-ID:X-RZG-AUTH;\n\tbh=IRWQTg1CvfvldYsptwS0fREOzvY=;\n\tb=SY7vohQ8iFKU7sZFx6yidrYxSWzj/WEniYLRyZ0WfbCC0V/9/x8oW8QU9IAvfHCPFtu\n\tAjAyFZ2BdTHIR6velZAH8ALaT+c8botlWx8ydm6VeukjcbeoeR+6HFfzvRMJ209qfJpaG\n\tg1eqhWRJeFBkCq1V70wkX20UXfcL8o9apVI=", "X-RZG-AUTH": ":IGUKb2CkcrLHmZv+FHarxbxlXmJO7WRQLa+vsyW+4RLunWeioNrxLvcCHZla", "X-RZG-CLASS-ID": "mo00", "From": "Stephan Linz <linz@li-pro.net>", "To": "monstr@monstr.eu", "Date": "Wed, 22 Feb 2012 22:39:57 +0100", "Message-Id": "<1329946797-530-1-git-send-email-linz@li-pro.net>", "X-Mailer": "git-send-email 1.7.0.4", "Cc": "Stephan Linz <linz@li-pro.net>, u-boot@lists.denx.de", "Subject": "[U-Boot] [PATCH] microblaze: fix build failure due to undefined\n\treference to `get_ticks'", "X-BeenThere": "u-boot@lists.denx.de", "X-Mailman-Version": "2.1.11", "Precedence": "list", "List-Id": "U-Boot discussion <u-boot.lists.denx.de>", "List-Unsubscribe": "<http://lists.denx.de/mailman/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>", "List-Archive": "<http://lists.denx.de/pipermail/u-boot>", "List-Post": "<mailto:u-boot@lists.denx.de>", "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>", "List-Subscribe": "<http://lists.denx.de/mailman/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Sender": "u-boot-bounces@lists.denx.de", "Errors-To": "u-boot-bounces@lists.denx.de" }, "content": "after commit \"common: add possibility for readline_into_buffer\ntimeout\" (sha1:9c34831) was applied. The Microblaze generic build\nfails with error below:\n\ncommon/libcommon.o: In function `cread_line':\n/devel/u-boot/common/main.c:717: undefined reference to `get_ticks'\n/devel/u-boot/common/main.c:717: undefined reference to `get_tbclk'\n/devel/u-boot/common/main.c:720: undefined reference to `get_ticks'\n\nSigned-off-by: Stephan Linz <linz@li-pro.net>\nAcked-by: Michal Simek <monstr@monstr.eu>\n---\n arch/microblaze/cpu/timer.c | 18 ++++++++++++++++++\n 1 files changed, 18 insertions(+), 0 deletions(-)", "diff": "diff --git a/arch/microblaze/cpu/timer.c b/arch/microblaze/cpu/timer.c\nindex a167755..1952804 100644\n--- a/arch/microblaze/cpu/timer.c\n+++ b/arch/microblaze/cpu/timer.c\n@@ -62,3 +62,21 @@ int timer_init (void)\n }\n #endif\n #endif\n+\n+/*\n+ * This function is derived from PowerPC code (read timebase as long long).\n+ * On Microblaze it just returns the timer value.\n+ */\n+unsigned long long get_ticks(void)\n+{\n+\treturn get_timer(0);\n+}\n+\n+/*\n+ * This function is derived from PowerPC code (timebase clock frequency).\n+ * On Microblaze it returns the number of timer ticks per second.\n+ */\n+ulong get_tbclk(void)\n+{\n+\treturn CONFIG_SYS_HZ;\n+}\n", "prefixes": [ "U-Boot" ] }