notes to the consolidated financial statements unrealized currency translation adjustments related to translation of foreign denominated balance sheets are not presented net of tax given that no deferred u.s . income taxes have been provided on undistributed earnings of non- u.s . subsidiaries because they are deemed to be reinvested for an indefinite period of time . the tax ( cost ) benefit related to unrealized currency translation adjustments other than translation of foreign denominated balance sheets , for the years ended december 31 , 2011 , 2010 and 2009 was $ ( 7 ) million , $ 8 million and $ 62 million , respectively . the tax benefit related to the adjustment for pension and other postretirement benefits for the years ended december 31 , 2011 , 2010 and 2009 was $ 98 million , $ 65 million and $ 18 million , respectively . the cumulative tax benefit related to the adjustment for pension and other postretirement benefits at december 31 , 2011 and 2010 was $ 990 million and $ 889 million , respectively . the tax ( cost ) benefit related to the change in the unrealized gain ( loss ) on marketable securities for the years ended december 31 , 2011 , 2010 and 2009 was $ ( 0.2 ) million , $ 0.6 million and $ 0.1 million , respectively . the tax benefit ( cost ) related to the change in the unrealized gain ( loss ) on derivatives for the years ended december 31 , 2011 , 2010 and 2009 was $ 19 million , $ 1 million and $ ( 16 ) million , respectively . 18 . employee savings plan ppg 2019s employee savings plan ( 201csavings plan 201d ) covers substantially all u.s . employees . the company makes matching contributions to the savings plan based upon participants 2019 savings , subject to certain limitations . for most participants not covered by a collective bargaining agreement , company-matching contributions are established each year at the discretion of the company and are applied to a maximum of 6% ( 6 % ) of eligible participant compensation . for those participants whose employment is covered by a collective bargaining agreement , the level of company-matching contribution , if any , is determined by the relevant collective bargaining agreement . the company-matching contribution was 100% ( 100 % ) for the first two months of 2009 . the company-matching contribution was suspended from march 2009 through june 2010 as a cost savings measure in recognition of the adverse impact of the global recession . effective july 1 , 2010 , the company match was reinstated at 50% ( 50 % ) on the first 6% ( 6 % ) of compensation contributed for most employees eligible for the company-matching contribution feature . this included the union represented employees in accordance with their collective bargaining agreements . on january 1 , 2011 , the company match was increased to 75% ( 75 % ) on the first 6% ( 6 % ) of compensation contributed by these eligible employees . compensation expense and cash contributions related to the company match of participant contributions to the savings plan for 2011 , 2010 and 2009 totaled $ 26 million , $ 9 million and $ 7 million , respectively . a portion of the savings plan qualifies under the internal revenue code as an employee stock ownership plan . as a result , the tax deductible dividends on ppg shares held by the savings plan were $ 20 million , $ 24 million and $ 28 million for 2011 , 2010 and 2009 , respectively . 19 . other earnings ( millions ) 2011 2010 2009 .

1	( millions )	2011	2010	2009
2	royalty income	55	58	45
3	share of net earnings ( loss ) of equity affiliates ( see note 5 )	37	45	-5 ( 5 )
4	gain on sale of assets	12	8	36
5	other	73	69	74
6	total	$ 177	$ 180	$ 150

total $ 177 $ 180 $ 150 20 . stock-based compensation the company 2019s stock-based compensation includes stock options , restricted stock units ( 201crsus 201d ) and grants of contingent shares that are earned based on achieving targeted levels of total shareholder return . all current grants of stock options , rsus and contingent shares are made under the ppg industries , inc . amended and restated omnibus incentive plan ( 201cppg amended omnibus plan 201d ) , which was amended and restated effective april 21 , 2011 . shares available for future grants under the ppg amended omnibus plan were 9.7 million as of december 31 , 2011 . total stock-based compensation cost was $ 36 million , $ 52 million and $ 34 million in 2011 , 2010 and 2009 , respectively . the total income tax benefit recognized in the accompanying consolidated statement of income related to the stock-based compensation was $ 13 million , $ 18 million and $ 12 million in 2011 , 2010 and 2009 , respectively . stock options ppg has outstanding stock option awards that have been granted under two stock option plans : the ppg industries , inc . stock plan ( 201cppg stock plan 201d ) and the ppg amended omnibus plan . under the ppg amended omnibus plan and the ppg stock plan , certain employees of the company have been granted options to purchase shares of common stock at prices equal to the fair market value of the shares on the date the options were granted . the options are generally exercisable beginning from six to 48 months after being granted and have a maximum term of 10 years . upon exercise of a stock option , shares of company stock are issued from treasury stock . the ppg stock plan includes a restored option provision for options originally granted prior to january 1 , 2003 that 68 2011 ppg annual report and form 10-k .

Question: what was the value of stock-based compensation in 2011?
Answer: 36