From patchwork Wed Oct 24 04:04:40 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 193655 X-Patchwork-Delegate: sjg@chromium.org Return-Path: 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]) by ozlabs.org (Postfix) with ESMTP id 23F662C0080 for ; Wed, 24 Oct 2012 15:06:06 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id F3AEF4A450; Wed, 24 Oct 2012 06:05:58 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MgiM0Wd8o0rM; Wed, 24 Oct 2012 06:05:58 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id AC05E4A458; Wed, 24 Oct 2012 06:05:29 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E75194A46B for ; Wed, 24 Oct 2012 06:05:12 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6xlWamwyeS87 for ; Wed, 24 Oct 2012 06:05:12 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-we0-f202.google.com (mail-we0-f202.google.com [74.125.82.202]) by theia.denx.de (Postfix) with ESMTPS id 8BE9E4A191 for ; Wed, 24 Oct 2012 06:05:07 +0200 (CEST) Received: by mail-we0-f202.google.com with SMTP id x43so5871wey.3 for ; Tue, 23 Oct 2012 21:05:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=Mr+v9jxgzoO8dBN4gmWZKm2uuLwt2696TOOQK/5ivBk=; b=pJxEG7cEXVjISj+LNSs17QDoHT+G0c9bcfNurYlq5iQcDOvIVVz5L0TahkjlsS8zsc mdcJ4qjzTCZY9DBPL97fUiHsz0h2XvppDIiTAM34vUK68KmEPZm+0BKLOmZCRV749/xs xIM7yxwGd2Hz9wKi3AHb9KsNHRjMv7SozDB9QVF+90bq9IUlywwYff1N1hQgsdA/aiAM hWuHHecX8MKJ0MupAF/TY6t4CQjE9JNT2FQn1725m0Ny9dBjy3Cy8g0ZBsf5nWnkozR5 fP8SRc7WZ37IFvaYO6PToQ13814Ny2oVPzqS73bK3f7ebHWhgRyAqebns9SNAMJ38/Lw 85HA== Received: by 10.180.105.41 with SMTP id gj9mr234923wib.3.1351051506841; Tue, 23 Oct 2012 21:05:06 -0700 (PDT) Received: from hpza10.eem.corp.google.com ([74.125.121.33]) by gmr-mx.google.com with ESMTPS id f8si104993wie.2.2012.10.23.21.05.06 (version=TLSv1/SSLv3 cipher=AES128-SHA); Tue, 23 Oct 2012 21:05:06 -0700 (PDT) Received: from kaka.mtv.corp.google.com (kaka.mtv.corp.google.com [172.22.73.79]) by hpza10.eem.corp.google.com (Postfix) with ESMTP id 73C27200059; Tue, 23 Oct 2012 21:05:06 -0700 (PDT) Received: by kaka.mtv.corp.google.com (Postfix, from userid 121222) id D983716106D; Tue, 23 Oct 2012 21:05:05 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Date: Tue, 23 Oct 2012 21:04:40 -0700 Message-Id: <1351051486-6980-10-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 1.7.7.3 In-Reply-To: <1351051486-6980-1-git-send-email-sjg@chromium.org> References: <1351051486-6980-1-git-send-email-sjg@chromium.org> X-Gm-Message-State: ALoCoQmfEfFr+/2VVtdOZSWlkCsVsavrfjyfRdjHdqlryZlcJLKjkFq2FyysB3qhzbrtxYVCsNhGkkX90FsqjIcf4MTL7YsjeosXdag848JUK7A0htnkrbl8rM5ub3FAtoUqY2Sp4f9D1T7s8w2ZHOn07GcdRZFl2/T0paSEILhQ6QOGEyO7OigQlOzt1+zEpH1bonE0C2SJ Subject: [U-Boot] [PATCH 09/15] x86: Fix indirect jmp warning in zimage.c X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de This fixes the following warning: zimage.c:312: Warning: indirect jmp without `*' Also fixed these warnings to keep checkpatch quiet: warning: arch/x86/lib/zimage.c,311: unnecessary whitespace before a quoted newline warning: arch/x86/lib/zimage.c,312: unnecessary whitespace before a quoted newline warning: arch/x86/lib/zimage.c,313: unnecessary whitespace before a quoted newline Signed-off-by: Simon Glass --- arch/x86/lib/zimage.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/lib/zimage.c b/arch/x86/lib/zimage.c index a1366a1..7661a58 100644 --- a/arch/x86/lib/zimage.c +++ b/arch/x86/lib/zimage.c @@ -308,9 +308,9 @@ void boot_zimage(void *setup_base, void *load_address) * itself in arch/i386/cpu/cpu.c. */ __asm__ __volatile__ ( - "movl $0, %%ebp \n" - "cli \n" - "jmp %[kernel_entry] \n" + "movl $0, %%ebp\n" + "cli\n" + "jmp *%[kernel_entry]\n" :: [kernel_entry]"a"(load_address), [boot_params] "S"(setup_base), "b"(0), "D"(0)