Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 36317
b: refs/heads/master
c: 2220d16
h: refs/heads/master
i:
  36315: 4a5906d
v: v3
  • Loading branch information
Paul Mundt committed Sep 27, 2006
1 parent c5160e7 commit ddb19b5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 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: 315bb96824149614efe4844ded077a13fc908880
refs/heads/master: 2220d164933a8776d1336c814e3c2e5573256d34
4 changes: 3 additions & 1 deletion trunk/arch/sh/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -413,8 +413,10 @@ const char *get_cpu_subtype(void)
}

#ifdef CONFIG_PROC_FS
/* Symbolic CPU flags, keep in sync with asm/cpu-features.h */
static const char *cpu_flags[] = {
"none", "fpu", "p2flush", "mmuassoc", "dsp", "perfctr", "ptea", NULL
"none", "fpu", "p2flush", "mmuassoc", "dsp", "perfctr",
"ptea", "llsc", NULL
};

static void show_cpuflags(struct seq_file *m)
Expand Down
8 changes: 8 additions & 0 deletions trunk/include/asm-sh/cpu-features.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@

/*
* Processor flags
*
* Note: When adding a new flag, keep cpu_flags[] in
* arch/sh/kernel/setup.c in sync so symbolic name
* mapping of the processor flags has a chance of being
* reasonably accurate.
*
* These flags are also available through the ELF
* auxiliary vector as AT_HWCAP.
*/
#define CPU_HAS_FPU 0x0001 /* Hardware FPU support */
#define CPU_HAS_P2_FLUSH_BUG 0x0002 /* Need to flush the cache in P2 area */
Expand Down

0 comments on commit ddb19b5

Please sign in to comment.