mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Marc Kleine-Budde <mkl@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] arm-cortexa9 kernelmodul ->__aeabi_l2d undefined
Date: Mon, 12 Jan 2015 16:04:03 +0100	[thread overview]
Message-ID: <54B3E263.40101@pengutronix.de> (raw)
In-Reply-To: <9BA84827B30CBE4996725F98F7DC9123428FAC4C@SMExchange01.siebmeyer.org>


[-- Attachment #1.1: Type: text/plain, Size: 620 bytes --]

On 01/12/2015 03:45 PM, Hänel-Baas, Alexander wrote:
> I have found my problem: there was a pragma pack(push(1)) without a
> corresponding pack().

This looks wrong in the kernel. Make use of __packed:

struct foo {
 	u8 bar;
	u16 baz;
 	u8 qux;
 } __packed;

P.S.: Using floating point in the kernel still doesn't work.

Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2015-01-12 15:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-08 13:16 Hänel-Baas, Alexander
2015-01-08 13:23 ` Marc Kleine-Budde
2015-01-08 13:26   ` Hänel-Baas, Alexander
2015-01-08 13:28     ` Marc Kleine-Budde
2015-01-08 13:33       ` Hänel-Baas, Alexander
2015-01-08 13:45         ` Marc Kleine-Budde
2015-01-08 14:25           ` Hänel-Baas, Alexander
2015-01-12 14:45           ` Hänel-Baas, Alexander
2015-01-12 15:04             ` Marc Kleine-Budde [this message]
2015-01-12 15:50               ` Hänel-Baas, Alexander

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=54B3E263.40101@pengutronix.de \
    --to=mkl@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /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