Update to magma Jun-15-2014

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>
Remove pre-3.x kernel patches

Signed-off-by: Alec Ari <neotheuser@ymail.com>
Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>
Fix version information (cherry-pick 88c3491f)

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>
Remove RTAI_MATH_KMOD_FLAGS

Not used anymore

Signed-off-by: Alec Ari <neotheuser@ymail.com>
Merge with magma

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>
Generalize some new Kconfig configurations

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>
Bump kernel support to 3.4.78

Signed-off-by: Alec Ari <neotheuser@ymail.com>
Bump 3.4 kernel support

Signed-off-by: Alec Ari <neotheuser@ymail.com>
Fix parsing of Linux Makefile in configure.ac.

The variable MAKEARGS in the generated Linux kernel Makefile can contain
multiple arguments and not only the destination directory:

    MAKEARGS := -C /usr/src/linux-headers-3.10-3-common-rtai O=/usr/src/linux-headers-3.10-3-rtai-686-pae

Using sed to match only the destination directory (the part that comes after
"-C" and before "O=") fails in such cases because not only the path is printed
but also the remaining arguments:

        /usr/src/linux-headers-3.10-3-common-rtai O=/usr/src/linux-headers-3.10-3-rtai-686-pae

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>
doc: x86_64 is supported now

I reviewed the documentation quite quickly. I removed the part
about x86_64 not being supported as well as simplifying some
few other parts.
Use MODULE_ALIAS instead of symlinks for aliasing legacy module names.

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>
Bump patch for 3.10

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>
Clarify that vulcano is not tracked anymore

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>
Up-to-date default configs

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>
Fix an rtai-config bug with --config

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>
Install an optional script to load RTAI on boot

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>
Support matrices and vectors for Simulink

Further, added the information for Simulink that only double
as input is supported and fixed the casting from float to double.
Even without explicitly stating that the input must be double,
Simulink assumes double so float was not correct!

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>
Re-add autoconf files

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>
Force 16-byte stack alignment

Allow SSE instructions in kernel modules

Seen on Debian jessie and other places:

[...]/testsuite/kern/latency/latency-module.c:1:0: error:
    -mpreferred-stack-boundary=3 is not between 4 and 12

http://mail.rtai.org/pipermail/rtai/2013-December/026198.html

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>
x86 default .config:  CONFIG_RTAI_CPUS="8"

Reported by Mick/Schooner/@ArcEye

Kernel crashes if number of host CPUs is greater than
`CONFIG_RTAI_CPUS`

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>