|
@@ -28,9 +28,13 @@
|
|
static int native_register_process_table(unsigned long base, unsigned long pg_sz,
|
|
static int native_register_process_table(unsigned long base, unsigned long pg_sz,
|
|
unsigned long table_size)
|
|
unsigned long table_size)
|
|
{
|
|
{
|
|
- unsigned long patb1 = base | table_size | PATB_GR;
|
|
|
|
|
|
+ unsigned long patb0, patb1;
|
|
|
|
+
|
|
|
|
+ patb0 = be64_to_cpu(partition_tb[0].patb0);
|
|
|
|
+ patb1 = base | table_size | PATB_GR;
|
|
|
|
+
|
|
|
|
+ mmu_partition_table_set_entry(0, patb0, patb1);
|
|
|
|
|
|
- partition_tb->patb1 = cpu_to_be64(patb1);
|
|
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|