init_32.c (9f30a04d768f64280dc0c40b730746e82f298d88) init_32.c (e1a58320a38dfa72be48a0f1a3a92273663ba6db)
1/*
2 *
3 * Copyright (C) 1995 Linus Torvalds
4 *
5 * Support of BIGMEM added by Gerhard Wichert, Siemens AG, July 1999
6 */
7
8#include <linux/module.h>

--- 943 unchanged lines hidden (view full) ---

952#ifdef CONFIG_CPA_DEBUG
953 printk(KERN_INFO "Testing CPA: undo %lx-%lx\n", start, start + size);
954 set_pages_rw(virt_to_page(start), size >> PAGE_SHIFT);
955
956 printk(KERN_INFO "Testing CPA: write protecting again\n");
957 set_pages_ro(virt_to_page(start), size >> PAGE_SHIFT);
958#endif
959 mark_nxdata_nx();
1/*
2 *
3 * Copyright (C) 1995 Linus Torvalds
4 *
5 * Support of BIGMEM added by Gerhard Wichert, Siemens AG, July 1999
6 */
7
8#include <linux/module.h>

--- 943 unchanged lines hidden (view full) ---

952#ifdef CONFIG_CPA_DEBUG
953 printk(KERN_INFO "Testing CPA: undo %lx-%lx\n", start, start + size);
954 set_pages_rw(virt_to_page(start), size >> PAGE_SHIFT);
955
956 printk(KERN_INFO "Testing CPA: write protecting again\n");
957 set_pages_ro(virt_to_page(start), size >> PAGE_SHIFT);
958#endif
959 mark_nxdata_nx();
960 if (__supported_pte_mask & _PAGE_NX)
961 debug_checkwx();
960}
961#endif
962
962}
963#endif
964