Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 83825
b: refs/heads/master
c: 870897a
h: refs/heads/master
i:
  83823: bf9ea56
v: v3
  • Loading branch information
Jason Uhlenkott authored and Linus Torvalds committed Feb 7, 2008
1 parent 3a3768c commit a3e46be
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 7ed31e0fa0e595a8840dbb6c60a7207b5bd90333
refs/heads/master: 870897a5ab60a6afeba0a7eff42d21faf79edf33
7 changes: 7 additions & 0 deletions trunk/drivers/edac/i3000_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@
*/
#define I3000_DEAP_GRAIN (1 << 7)

/*
* Helper functions to decode the DEAP/EDEAP hardware registers.
*
* The type promotion here is deliberate; we're deriving an
* unsigned long pfn and offset from hardware regs which are u8/u32.
*/

static inline unsigned long deap_pfn(u8 edeap, u32 deap)
{
deap >>= PAGE_SHIFT;
Expand Down

0 comments on commit a3e46be

Please sign in to comment.