Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 373765
b: refs/heads/master
c: cbbc6f1
h: refs/heads/master
i:
  373763: 6cb1a1d
v: v3
  • Loading branch information
Nishanth Aravamudan authored and Benjamin Herrenschmidt committed May 5, 2013
1 parent cc1ca14 commit 9d1e301
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d82fb31abc46620b7c22758c75707069f2763646
refs/heads/master: cbbc6f1b1433ef553d57826eee87a84ca49645ce
2 changes: 2 additions & 0 deletions trunk/arch/powerpc/include/asm/cputable.h
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,10 @@ extern const char *powerpc_base_platform;
/* We only set the TM feature if the kernel was compiled with TM supprt */
#ifdef CONFIG_PPC_TRANSACTIONAL_MEM
#define CPU_FTR_TM_COMP CPU_FTR_TM
#define PPC_FEATURE2_HTM_COMP PPC_FEATURE2_HTM
#else
#define CPU_FTR_TM_COMP 0
#define PPC_FEATURE2_HTM_COMP 0
#endif

/* We need to mark all pages as being coherent if we're SMP or we have a
Expand Down
9 changes: 9 additions & 0 deletions trunk/arch/powerpc/include/uapi/asm/cputable.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#ifndef _UAPI__ASM_POWERPC_CPUTABLE_H
#define _UAPI__ASM_POWERPC_CPUTABLE_H

/* in AT_HWCAP */
#define PPC_FEATURE_32 0x80000000
#define PPC_FEATURE_64 0x40000000
#define PPC_FEATURE_601_INSTR 0x20000000
Expand Down Expand Up @@ -33,4 +34,12 @@
#define PPC_FEATURE_TRUE_LE 0x00000002
#define PPC_FEATURE_PPC_LE 0x00000001

/* in AT_HWCAP2 */
#define PPC_FEATURE2_ARCH_2_07 0x80000000
#define PPC_FEATURE2_HTM 0x40000000
#define PPC_FEATURE2_DSCR 0x20000000
#define PPC_FEATURE2_EBB 0x10000000
#define PPC_FEATURE2_ISEL 0x08000000
#define PPC_FEATURE2_TAR 0x04000000

#endif /* _UAPI__ASM_POWERPC_CPUTABLE_H */

0 comments on commit 9d1e301

Please sign in to comment.