Deductions & credits

Does the 10K apply to both primary AND secondary home? or Do I have 10K for each house (1 for primary and 1 for secondary)?