mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Masaki Muranaka <monaka@monami-ya.jp>
To: barebox@lists.infradead.org
Subject: [patch][x86] Avoid build error on "config SPI" is y
Date: Sat, 1 Jun 2013 10:56:40 +0900	[thread overview]
Message-ID: <CAJBvFxNw3yip2gozgC6-cnxL5=OVMOZ9xBy5ZLhY0grSjyonQA@mail.gmail.com> (raw)

Hello,

In case he configures with make ARCH=x85 menuconfig,
config SPI will be set to "y". And he will got an error on spi.h.

After applied this patch, the error will be fixed.

diff --git a/arch/x86/include/asm/types.h b/arch/x86/include/asm/types.h
index b0218d2..d473405 100644
--- a/arch/x86/include/asm/types.h
+++ b/arch/x86/include/asm/types.h
@@ -29,12 +29,16 @@ typedef unsigned int __u32;
 typedef __signed__ long long __s64;
 typedef unsigned long long __u64;

+typedef signed char s8;
 typedef unsigned char u8;

+typedef signed short s16;
 typedef unsigned short u16;

+typedef signed int s32;
 typedef unsigned int u32;

+typedef signed long long s64;
 typedef unsigned long long u64;

 #endif /* __ASSEMBLY__ */


--
--
Masaki Muranaka
Monami-ya LLC, Japan.

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2013-06-01  1:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-01  1:56 Masaki Muranaka [this message]
2013-06-01 14:05 [PATCH] [x86] " monaka
2013-06-02  9:19 ` Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJBvFxNw3yip2gozgC6-cnxL5=OVMOZ9xBy5ZLhY0grSjyonQA@mail.gmail.com' \
    --to=monaka@monami-ya.jp \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox