diff options
author | Jack Steiner <steiner@sgi.com> | 2008-10-16 01:05:13 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-16 14:21:51 -0400 |
commit | 923f7f6970bd448b8e88b9e4be10fd01fc7106a4 (patch) | |
tree | 5e9f5646f547eaa345068f177815ebadd6a95454 /drivers/misc/sgi-gru/gru.h | |
parent | ebf3f09c634906d371f2bfd71b41c7e0c52efe7e (diff) |
GRU driver: minor updates
A few minor updates for the GRU driver.
- documentation changes found in code reviews
- changes to #ifdefs to make them recognized by "unifdef"
(used in simulator testing)
- change GRU context load/unload to prefetch data
[akpm@linux-foundation.org: fix typo in comment]
Signed-off-by: Jack Steiner <steiner@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/misc/sgi-gru/gru.h')
-rw-r--r-- | drivers/misc/sgi-gru/gru.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/sgi-gru/gru.h b/drivers/misc/sgi-gru/gru.h index 40df7cb3f0a5..f93f03a9e6e9 100644 --- a/drivers/misc/sgi-gru/gru.h +++ b/drivers/misc/sgi-gru/gru.h | |||
@@ -30,9 +30,9 @@ | |||
30 | /* | 30 | /* |
31 | * Size used to map GRU GSeg | 31 | * Size used to map GRU GSeg |
32 | */ | 32 | */ |
33 | #if defined CONFIG_IA64 | 33 | #if defined(CONFIG_IA64) |
34 | #define GRU_GSEG_PAGESIZE (256 * 1024UL) | 34 | #define GRU_GSEG_PAGESIZE (256 * 1024UL) |
35 | #elif defined CONFIG_X86_64 | 35 | #elif defined(CONFIG_X86_64) |
36 | #define GRU_GSEG_PAGESIZE (256 * 1024UL) /* ZZZ 2MB ??? */ | 36 | #define GRU_GSEG_PAGESIZE (256 * 1024UL) /* ZZZ 2MB ??? */ |
37 | #else | 37 | #else |
38 | #error "Unsupported architecture" | 38 | #error "Unsupported architecture" |