Merge branch 'master' of ssh://master.kernel.org/pub/scm/linux/kernel/git/rusty/linux...
[firefly-linux-kernel-4.4.55.git] / arch / x86 / kernel / vmlinux.lds.S
index 0ccb57d5ee35fc6c7242e435e6780e27bdfff75f..a46acccec38a55cab91b69fdfd9cdf2dfc54a345 100644 (file)
@@ -45,9 +45,9 @@ PHDRS {
        text PT_LOAD FLAGS(5);          /* R_E */
        data PT_LOAD FLAGS(7);          /* RWE */
 #ifdef CONFIG_X86_64
-       user PT_LOAD FLAGS(7);          /* RWE */
+       user PT_LOAD FLAGS(5);          /* R_E */
 #ifdef CONFIG_SMP
-       percpu PT_LOAD FLAGS(7);        /* RWE */
+       percpu PT_LOAD FLAGS(6);        /* RW_ */
 #endif
        init PT_LOAD FLAGS(7);          /* RWE */
 #endif