@@ -989,8 +989,8 @@ ia64_pal_cache_read (pal_cache_line_id_u_t line_id, u64 physical_addr)
989989}
990990
991991/* Return summary information about the hierarchy of caches controlled by the processor */
992- static inline s64
993- ia64_pal_cache_summary ( u64 * cache_levels , u64 * unique_caches )
992+ static inline long ia64_pal_cache_summary ( unsigned long * cache_levels ,
993+ unsigned long * unique_caches )
994994{
995995 struct ia64_pal_retval iprv ;
996996 PAL_CALL (iprv , PAL_CACHE_SUMMARY , 0 , 0 , 0 );
@@ -1038,8 +1038,8 @@ ia64_pal_copy_pal (u64 target_addr, u64 alloc_size, u64 processor, u64 *pal_proc
10381038}
10391039
10401040/* Return the number of instruction and data debug register pairs */
1041- static inline s64
1042- ia64_pal_debug_info ( u64 * inst_regs , u64 * data_regs )
1041+ static inline long ia64_pal_debug_info ( unsigned long * inst_regs ,
1042+ unsigned long * data_regs )
10431043{
10441044 struct ia64_pal_retval iprv ;
10451045 PAL_CALL (iprv , PAL_DEBUG_INFO , 0 , 0 , 0 );
@@ -1074,8 +1074,7 @@ ia64_pal_fixed_addr (u64 *global_unique_addr)
10741074}
10751075
10761076/* Get base frequency of the platform if generated by the processor */
1077- static inline s64
1078- ia64_pal_freq_base (u64 * platform_base_freq )
1077+ static inline long ia64_pal_freq_base (unsigned long * platform_base_freq )
10791078{
10801079 struct ia64_pal_retval iprv ;
10811080 PAL_CALL (iprv , PAL_FREQ_BASE , 0 , 0 , 0 );
@@ -1437,7 +1436,7 @@ ia64_pal_proc_set_features (u64 feature_select)
14371436 * possible.
14381437 */
14391438typedef struct ia64_ptce_info_s {
1440- u64 base ;
1439+ unsigned long base ;
14411440 u32 count [2 ];
14421441 u32 stride [2 ];
14431442} ia64_ptce_info_t ;
@@ -1478,9 +1477,9 @@ ia64_pal_register_info (u64 info_request, u64 *reg_info_1, u64 *reg_info_2)
14781477}
14791478
14801479typedef union pal_hints_u {
1481- u64 ph_data ;
1480+ unsigned long ph_data ;
14821481 struct {
1483- u64 si : 1 ,
1482+ unsigned long si : 1 ,
14841483 li : 1 ,
14851484 reserved : 62 ;
14861485 } pal_hints_s ;
@@ -1489,8 +1488,8 @@ typedef union pal_hints_u {
14891488/* Return information about the register stack and RSE for this processor
14901489 * implementation.
14911490 */
1492- static inline s64
1493- ia64_pal_rse_info ( u64 * num_phys_stacked , pal_hints_u_t * hints )
1491+ static inline long ia64_pal_rse_info ( unsigned long * num_phys_stacked ,
1492+ pal_hints_u_t * hints )
14941493{
14951494 struct ia64_pal_retval iprv ;
14961495 PAL_CALL (iprv , PAL_RSE_INFO , 0 , 0 , 0 );
@@ -1608,8 +1607,7 @@ ia64_pal_vm_info (u64 tc_level, u64 tc_type, pal_tc_info_u_t *tc_info, u64 *tc_
16081607/* Get page size information about the virtual memory characteristics of the processor
16091608 * implementation.
16101609 */
1611- static inline s64
1612- ia64_pal_vm_page_size (u64 * tr_pages , u64 * vw_pages )
1610+ static inline s64 ia64_pal_vm_page_size (u64 * tr_pages , u64 * vw_pages )
16131611{
16141612 struct ia64_pal_retval iprv ;
16151613 PAL_CALL (iprv , PAL_VM_PAGE_SIZE , 0 , 0 , 0 );
0 commit comments