diff options
| author | 2009-03-27 12:59:54 +0800 | |
|---|---|---|
| committer | 2009-03-27 12:59:54 +0800 | |
| commit | 3341323bb4c198f704cffbfdda37bcec1226ef7d (patch) | |
| tree | 6fa9d807e9ccd3e6e0eb75cea990317dbd68fcf1 /include/linux/timeriomem-rng.h | |
| parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/penberg/slab-2.6 (diff) | |
| download | wireguard-linux-3341323bb4c198f704cffbfdda37bcec1226ef7d.tar.xz wireguard-linux-3341323bb4c198f704cffbfdda37bcec1226ef7d.zip | |
hwrng: timeriomem - Use phys address rather than virt
There is no ioremap'ing or anything in timeriomem-rng.c as I foolishly
used already remapped virtual addresses instead of passing the physical
address to be polled.
This patch fixes this flaw and lets developers do the Right Thing(tm).
Signed-off-by: Alexander Clouter <alex@digriz.org.uk>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/linux/timeriomem-rng.h')
| -rw-r--r-- | include/linux/timeriomem-rng.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/timeriomem-rng.h b/include/linux/timeriomem-rng.h index dd253177f65f..3e08a1c86830 100644 --- a/include/linux/timeriomem-rng.h +++ b/include/linux/timeriomem-rng.h @@ -14,7 +14,7 @@ struct timeriomem_rng_data { struct completion completion; unsigned int present:1; - u32 __iomem *address; + void __iomem *address; /* measures in usecs */ unsigned int period; |
