History

Fix FRV minimum slab/kmalloc alignment

> +#define ARCH_KMALLOC_MINALIGN (sizeof(long) * 2) > +#define ARCH_SLAB_MINALIGN (sizeof(long) * 2) This doesn't work if SLAB is selected and slab debugging is enabled as these are passed to the preprocessor, and the preprocessor doesn't understand sizeof.

David Howells committed 18 years ago

Commit 0a2ce2f1 parent b4412321 file · +2 −2Browse files

Unified · Split

include/asm-frv/mem-layout.h+2−2
@@ -35,8 +35,8 @@ · 34 unmodified lines
35 * the slab must be aligned such that load- and store-double instructions don't35 * the slab must be aligned such that load- and store-double instructions don't
36 * fault if used36 * fault if used
37 */37 */
38#define ARCH_KMALLOC_MINALIGN (sizeof(long) * 2)38#define ARCH_KMALLOC_MINALIGN 8
39#define ARCH_SLAB_MINALIGN (sizeof(long) * 2)39#define ARCH_SLAB_MINALIGN 8
40 40
41/*****************************************************************************/41/*****************************************************************************/
42/*42/*

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t