Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 77825
b: refs/heads/master
c: 98c4ecd
h: refs/heads/master
i:
  77823: 6823498
v: v3
  • Loading branch information
Paul Mundt committed Jan 28, 2008
1 parent 651b51f commit 4cd48f5
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a9f1365e5e4963705f85a6381cbed74c5615dbac
refs/heads/master: 98c4ecde9da14fafbcf1b6c025b08342a327e644
6 changes: 6 additions & 0 deletions trunk/include/asm-sh/auxvec.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
* for more of them.
*/

/*
* This entry gives some information about the FPU initialization
* performed by the kernel.
*/
#define AT_FPUCW 18 /* Used FPU control word. */

#ifdef CONFIG_VSYSCALL
/*
* Only define this in the vsyscall case, the entry point to
Expand Down
11 changes: 10 additions & 1 deletion trunk/include/asm-sh/elf.h
Original file line number Diff line number Diff line change
Expand Up @@ -169,13 +169,22 @@ extern void __kernel_vsyscall;
#define VSYSCALL_AUX_ENT
#endif /* CONFIG_VSYSCALL */

#ifdef CONFIG_SH_FPU
#define FPU_AUX_ENT NEW_AUX_ENT(AT_FPUCW, FPSCR_INIT)
#else
#define FPU_AUX_ENT
#endif

extern int l1i_cache_shape, l1d_cache_shape, l2_cache_shape;

/* update AT_VECTOR_SIZE_ARCH if the number of NEW_AUX_ENT entries changes */
#define ARCH_DLINFO \
do { \
/* Optional FPU initialization */ \
FPU_AUX_ENT; \
\
/* Optional vsyscall entry */ \
VSYSCALL_AUX_ENT \
VSYSCALL_AUX_ENT; \
\
/* Cache desc */ \
NEW_AUX_ENT(AT_L1I_CACHESHAPE, l1i_cache_shape); \
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/asm-sh/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <asm/types.h>
#include <asm/ptrace.h>

#define AT_VECTOR_SIZE_ARCH 4 /* entries in ARCH_DLINFO */
#define AT_VECTOR_SIZE_ARCH 5 /* entries in ARCH_DLINFO */

#if defined(CONFIG_CPU_SH4A) || defined(CONFIG_CPU_SH5)
#define __icbi() \
Expand Down

0 comments on commit 4cd48f5

Please sign in to comment.