From patchwork Fri Jul 20 20:12:58 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 172340 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 95AAD2C038F for ; Sat, 21 Jul 2012 06:13:17 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E5BE1280C5; Fri, 20 Jul 2012 22:13:14 +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 yc--uRj5lvym; Fri, 20 Jul 2012 22:13:14 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5BAF4280BF; Fri, 20 Jul 2012 22:13:12 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7E58B280BF for ; Fri, 20 Jul 2012 22:13:07 +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 QK0dFeFkepMA for ; Fri, 20 Jul 2012 22:13:05 +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-out.m-online.net (mail-out.m-online.net [212.18.0.10]) by theia.denx.de (Postfix) with ESMTPS id 59478280B8 for ; Fri, 20 Jul 2012 22:13:03 +0200 (CEST) Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3Wf3Gt4pjxz3hhcD; Fri, 20 Jul 2012 22:14:46 +0200 (CEST) X-Auth-Info: 47+R1J5/ZU5nzHz1GFWS7RpdruM8D2NYM/8v8j5Q0EU= Received: from mashiro.lan (unknown [195.140.253.167]) by smtp-auth.mnet-online.de (Postfix) with ESMTPA id 3Wf3Dt3F3YzbbhP; Fri, 20 Jul 2012 22:13:02 +0200 (CEST) From: Marek Vasut To: u-boot@lists.denx.de Date: Fri, 20 Jul 2012 22:12:58 +0200 Message-Id: <1342815178-32546-1-git-send-email-marex@denx.de> X-Mailer: git-send-email 1.7.10.4 Cc: Marek Vasut , Tom Rini Subject: [U-Boot] [PATCH] common.h: Remove include compiler.h 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 Remove this as including it on global scale breaks a lot of things. This was reported by: Matthew McClintock Fix found by: Tom Rini Signed-off-by: Marek Vasut Cc: Wolfgang Denk Cc: Tom Rini --- include/common.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/common.h b/include/common.h index be9c278..39859d3 100644 --- a/include/common.h +++ b/include/common.h @@ -39,7 +39,6 @@ typedef volatile unsigned char vu_char; #include #include #include -#include #include #include #if defined(CONFIG_PCI) && (defined(CONFIG_4xx) && !defined(CONFIG_AP1000)) @@ -959,7 +958,7 @@ int cpu_release(int nr, int argc, char * const argv[]); */ #define DEFINE_ALIGN_BUFFER(type, name, size, align) \ static char __##name[roundup(size * sizeof(type), align)] \ - __aligned(align); \ + __attribute__((aligned(align))); \ \ static type *name = (type *)__##name #define DEFINE_CACHE_ALIGN_BUFFER(type, name, size) \