Jiri Kosina
7256a5d2da
powerpc: Fix personality handling in ppc64_personality()
...
Directly comparing current->personality against PER_LINUX32 doesn't work
in cases when any of the personality flags stored in the top three bytes
are used.
Directly forcefully setting personality to PER_LINUX32 or PER_LINUX
discards any flags stored in the top three bytes
Use personality() macro to compare only PER_MASK bytes and make sure that
we are setting only the bits that should be set, instead of overwriting
the whole value.
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2012-08-24 20:26:07 +10:00
..
2012-07-11 14:18:40 +10:00
2012-07-11 14:18:40 +10:00
2012-03-28 18:30:02 +01:00
2012-07-11 14:18:40 +10:00
2011-10-31 19:30:44 -04:00
2011-12-21 14:29:42 -08:00
2011-10-31 19:30:44 -04:00
2011-02-07 12:57:11 +11:00
2010-10-13 08:47:09 -04:00
2012-07-10 19:18:35 +10:00
2012-04-08 12:54:33 +03:00
2011-07-12 13:16:58 +03:00
2011-07-12 13:16:58 +03:00
2012-03-28 18:30:02 +01:00
2011-12-20 10:20:19 -05:00
2012-03-28 18:30:02 +01:00
2012-03-09 13:25:06 +11:00
2012-08-24 20:26:07 +10:00
2012-07-30 12:25:46 +02:00
2012-07-30 10:11:31 -07:00
2012-07-27 11:42:31 +10:00
2012-07-11 14:18:22 +10:00
2012-05-30 11:43:10 +02:00
2012-05-30 11:43:10 +02:00
2012-07-11 14:18:22 +10:00
2012-07-11 14:18:38 +10:00
2012-04-02 14:00:03 +10:00
2011-10-31 19:30:41 -04:00
2012-07-10 19:18:30 +10:00
2010-07-11 11:04:08 -05:00
2012-07-27 11:42:34 +10:00
2012-03-09 10:55:08 +11:00
2012-03-09 10:55:08 +11:00
2012-03-09 10:55:08 +11:00
2012-05-24 16:17:30 -07:00
2012-03-09 13:25:06 +11:00
2012-04-08 12:51:19 +03:00
2012-07-13 13:38:26 +10:00
2012-08-24 20:26:04 +10:00
2012-04-04 17:13:43 -07:00
2012-07-11 14:18:22 +10:00
2012-07-11 14:18:22 +10:00
2012-07-11 14:18:22 +10:00
2012-07-11 14:18:22 +10:00
2012-04-08 14:01:20 +03:00
2012-05-08 12:35:07 +02:00
2011-10-31 19:30:37 -04:00
2011-10-31 19:30:44 -04:00
2011-11-28 21:13:18 +02:00
2012-07-13 17:45:49 +10:00
2012-07-10 19:16:20 +10:00
2012-03-21 11:16:11 +11:00
2011-11-16 14:25:19 +11:00
2012-08-24 20:26:06 +10:00
2012-03-28 18:30:02 +01:00
2012-05-30 11:43:11 +02:00
2012-07-24 12:01:20 -07:00
2011-03-31 11:26:23 -03:00
2012-01-25 13:33:22 +11:00
2012-03-28 18:30:02 +01:00
2012-01-12 20:13:03 -08:00
2012-01-12 20:13:03 -08:00
2012-04-30 10:45:26 +10:00
2012-05-30 11:43:10 +02:00
2012-07-11 14:18:22 +10:00
2012-07-10 19:18:16 +10:00
2012-03-09 10:54:59 +11:00
2012-06-08 19:59:08 +10:00
2011-07-24 22:06:04 +09:30
2011-10-31 19:30:44 -04:00
2011-03-04 18:19:04 +11:00
2012-03-09 11:39:29 +11:00
2012-04-30 15:37:16 +10:00
2012-03-20 10:41:44 -07:00
2012-06-13 15:42:22 -06:00
2011-11-25 14:53:15 +11:00
2012-07-24 16:17:07 -07:00
2012-07-24 16:17:07 -07:00
2012-02-29 17:15:08 -05:00
2012-05-27 21:00:07 -07:00
2011-03-31 11:26:23 -03:00
2010-03-30 22:02:32 +09:00
2012-05-23 10:59:07 -07:00
2011-09-20 16:09:48 +10:00
2012-06-29 14:35:36 +10:00
2011-10-31 19:30:44 -04:00
2012-03-28 18:30:02 +01:00
2012-04-30 15:37:28 +10:00
2012-05-23 09:02:42 -07:00
2011-12-20 10:21:08 -05:00
2012-07-27 11:42:33 +10:00
2012-03-23 14:02:12 -07:00
2011-06-29 15:30:43 +10:00
2012-03-28 15:58:21 -07:00
2011-11-25 14:11:29 +11:00
2012-07-11 07:44:03 -05:00
2012-03-28 15:58:21 -07:00
2012-07-11 07:44:03 -05:00
2012-06-01 12:58:51 -04:00
2012-06-01 12:58:51 -04:00
2012-06-01 12:58:52 -04:00
2012-06-01 12:58:51 -04:00
2011-07-26 16:49:47 -07:00
2012-07-11 14:18:40 +10:00
2012-03-28 18:30:02 +01:00
2011-10-31 19:30:44 -04:00
2010-07-19 10:56:54 +02:00
2011-03-31 11:26:23 -03:00
2012-03-28 18:30:02 +01:00
2010-05-21 07:41:53 -05:00
2012-03-28 18:30:02 +01:00
2012-03-28 18:30:02 +01:00
2012-08-24 20:26:07 +10:00
2012-03-28 18:30:02 +01:00
2012-06-08 14:07:35 +10:00
2012-05-09 09:42:33 +10:00
2011-05-06 13:32:41 +10:00
2012-03-28 11:33:23 +11:00
2012-07-11 14:18:40 +10:00
2012-04-30 15:37:17 +10:00
2012-07-30 10:11:31 -07:00
2012-03-09 10:54:59 +11:00