diff options
author | Tony Luck <tony.luck@intel.com> | 2007-02-05 18:47:43 -0500 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2007-02-05 18:47:43 -0500 |
commit | e1b43bd556a611584a65f529e5077c1b54ace4f7 (patch) | |
tree | 492c53f72e47fac6ceb20ea5590405d09155f84c /Documentation/ia64 | |
parent | 1138b7e2d40711b024768034beb64885994271e4 (diff) |
[IA64] Fix example error injection program
Progam accessed using /sys/devices/system/node/node0/cpu%d/err_inject/
This path only exists for CONFIG_NUMA=y systems. Better to use
/sys/devices/system/cpu/cpu%d/err_inject/ which is available on all
systems.
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'Documentation/ia64')
-rw-r--r-- | Documentation/ia64/err_inject.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/ia64/err_inject.txt b/Documentation/ia64/err_inject.txt index 26487c172cfc..6449a7090dbb 100644 --- a/Documentation/ia64/err_inject.txt +++ b/Documentation/ia64/err_inject.txt | |||
@@ -111,7 +111,7 @@ err_injection_tool.c: | |||
111 | #define ERR_DATA_BUFFER_SIZE 3 // Three 8-byte. | 111 | #define ERR_DATA_BUFFER_SIZE 3 // Three 8-byte. |
112 | #define PARA_FIELD_NUM 5 | 112 | #define PARA_FIELD_NUM 5 |
113 | #define MASK_SIZE (NR_CPUS/64) | 113 | #define MASK_SIZE (NR_CPUS/64) |
114 | #define PATH_FORMAT "/sys/devices/system/node/node0/cpu%d/err_inject/" | 114 | #define PATH_FORMAT "/sys/devices/system/cpu/cpu%d/err_inject/" |
115 | 115 | ||
116 | int sched_setaffinity(pid_t pid, unsigned int len, unsigned long *mask); | 116 | int sched_setaffinity(pid_t pid, unsigned int len, unsigned long *mask); |
117 | 117 | ||