diff options
author | Paul Mundt <lethal@linux-sh.org> | 2006-09-19 20:27:17 +0200 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-09-21 09:37:10 +0200 |
commit | 029669da25efa18ee4b8911e694fdcf4a11c8cbe (patch) | |
tree | 6abe2d1a290865a11e554c92110316cc31560dc8 /include/asm-sh64/shmparam.h | |
parent | Fix 'make headers_check' on sh (diff) | |
download | linux-029669da25efa18ee4b8911e694fdcf4a11c8cbe.tar.xz linux-029669da25efa18ee4b8911e694fdcf4a11c8cbe.zip |
Fix 'make headers_check' on sh64
Cleanup for user headers, as noted:
asm-sh64/page.h requires asm-generic/memory_model.h, which does not exist in exported headers
asm-sh64/shmparam.h requires asm/cache.h, which does not exist in exported headers
asm-sh64/signal.h requires asm/processor.h, which does not exist in exported headers
asm-sh64/user.h requires asm/processor.h, which does not exist in exported headers
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'include/asm-sh64/shmparam.h')
-rw-r--r-- | include/asm-sh64/shmparam.h | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/include/asm-sh64/shmparam.h b/include/asm-sh64/shmparam.h index d3a99a4dc0e3..1bb820c833ee 100644 --- a/include/asm-sh64/shmparam.h +++ b/include/asm-sh64/shmparam.h @@ -2,19 +2,11 @@ #define __ASM_SH64_SHMPARAM_H /* - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. - * - * include/asm-sh64/shmparam.h - * - * Copyright (C) 2000, 2001 Paolo Alberelli - * + * Set this to a sensible safe default, we'll work out the specifics for the + * align mask from the cache descriptor at run-time. */ +#define SHMLBA 0x4000 -#include <asm/cache.h> - -/* attach addr a multiple of this */ -#define SHMLBA (cpu_data->dcache.sets * L1_CACHE_BYTES) +#define __ARCH_FORCE_SHMLBA #endif /* __ASM_SH64_SHMPARAM_H */ |