aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiu Ping Fan <kernelfans@gmail.com>2013-11-20 21:17:54 -0500
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-04-30 18:26:39 -0400
commit5a4e58bc693f04aa650219784e5e339e0db6b902 (patch)
treedc2df54f9c819a4470752e9ab17f97a99b20ea9c
parentd5b35cffe3d3c2bc297b7c1fb997a6139de02e12 (diff)
powerpc/mm: use macro PGTABLE_EADDR_SIZE instead of digital
In case of extending the eaddr in future, use this macro PGTABLE_EADDR_SIZE to ease the maintenance of the code. Signed-off-by: Liu Ping Fan <pingfank@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
-rw-r--r--arch/powerpc/mm/slb_low.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/mm/slb_low.S b/arch/powerpc/mm/slb_low.S
index 17aa6dfceb34..e0b3cf42b053 100644
--- a/arch/powerpc/mm/slb_low.S
+++ b/arch/powerpc/mm/slb_low.S
@@ -35,7 +35,7 @@ _GLOBAL(slb_allocate_realmode)
35 * check for bad kernel/user address 35 * check for bad kernel/user address
36 * (ea & ~REGION_MASK) >= PGTABLE_RANGE 36 * (ea & ~REGION_MASK) >= PGTABLE_RANGE
37 */ 37 */
38 rldicr. r9,r3,4,(63 - 46 - 4) 38 rldicr. r9,r3,4,(63 - PGTABLE_EADDR_SIZE - 4)
39 bne- 8f 39 bne- 8f
40 40
41 srdi r9,r3,60 /* get region */ 41 srdi r9,r3,60 /* get region */
href='#n343'>343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524











































































































































































































































































































































































































































































































































                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
%PDF-1.4
%쏢
5 0 obj
<</Length 6 0 R/Filter /FlateDecode>>
stream
xl]Jn^LKwoppZc
3=?_>?]mu
_?Z]{+??c
5$bkk>%V_5u֪W]Jb5<Z }U׏Di{?qnDl~-'b=]

"VWIjc
e9(ZAԲduQ˒Qr"~
e/ jX%A%VߨrAĚ)w`ߔw βlUQ"wW,S-'sտ^{,D,ރI^]IԲl&^JceRej9QkrDf`_/rAIJze3r 3ʃ#]Vʐ;0Zo= bY!w`D-ŐUށIԲ\.ZyKcD,^},ˉXV-e
"UKPԱlq^\yR{&Qk{D,+i3I"Պ_+ZoI&j`ZA^WVZ+ZD-F/ȯUVꓨeXNIJZ)XAԲ|"V-D