diff options
author | Richard Weinberger <richard@nod.at> | 2011-05-24 20:13:00 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-25 11:39:40 -0400 |
commit | 0ce451acb1872eab0fcf22753f93f51567e812fa (patch) | |
tree | cb9658d9faeec3fbb1d089c94da32f009bf9ff93 /arch/um/include | |
parent | 8aebe21e0f805b9c411a51e716bb34aa61c0cad6 (diff) |
um: fix UML_LIB_PATH
UML_LIB_PATH is hardcoded to /usr/lib/uml/, on 64bit systems UML_LIB_PATH
needs to be /usr/lib64/uml/.
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/include')
-rw-r--r-- | arch/um/include/shared/os.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/um/include/shared/os.h b/arch/um/include/shared/os.h index c4617baaa4f2..f06a5da71a8f 100644 --- a/arch/um/include/shared/os.h +++ b/arch/um/include/shared/os.h | |||
@@ -29,6 +29,12 @@ | |||
29 | #define OS_ACC_R_OK 4 /* Test for read permission. */ | 29 | #define OS_ACC_R_OK 4 /* Test for read permission. */ |
30 | #define OS_ACC_RW_OK (OS_ACC_W_OK | OS_ACC_R_OK) /* Test for RW permission */ | 30 | #define OS_ACC_RW_OK (OS_ACC_W_OK | OS_ACC_R_OK) /* Test for RW permission */ |
31 | 31 | ||
32 | #ifdef CONFIG_64BIT | ||
33 | #define OS_LIB_PATH "/usr/lib64/" | ||
34 | #else | ||
35 | #define OS_LIB_PATH "/usr/lib/" | ||
36 | #endif | ||
37 | |||
32 | /* | 38 | /* |
33 | * types taken from stat_file() in hostfs_user.c | 39 | * types taken from stat_file() in hostfs_user.c |
34 | * (if they are wrong here, they are wrong there...). | 40 | * (if they are wrong here, they are wrong there...). |